-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updated_at
and created_at
are not UTC-based
#2
Comments
We use whichever time zone Hex chooses to use and do not add any conversions. |
OK, clear, thanks. Seems perfectly rational ha ha |
We could pass through the timestamp strings and not use birl? Perhaps that would be clearer. |
I'm not sure. I think the problem also comes from birl for being unclear. The underlying problem is that I have an UTC time, while the time from Hex is without any timezone info. So I end up with Maybe it's worth a discussion in birl? |
Sounds like a birl bug if they're not taking timezones into account. I'd be happy to either keep this library as-is, or remove the birl usage. |
I'll open a discussion on burl to see if we can find a best solution. As of now, let's not change it. Actually I like the idea of not having to deal with datetime parsing and getting a birl Time directly. |
Hi!
I'm using this package, and
updated_at
andcreated_at
are correctly converted inbirl.Time
, but they are not turned into UTC. Is it on purpose? I find it always simpler to manipulate every timestamp in UTC in backend, and manage the timezones when user interaction is needed (sending a notification, displaying the time, etc.)The text was updated successfully, but these errors were encountered: