You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should probably change the field type to just work with iso-strings (so we can json encode easily) but provide helpers for getting the actual datetime object.
My vote would be to serialize (and store) timestamps as UNIX timestamps in milliseconds. This is perhaps a topic better discussed over lunch, but in short:
timestamps are simple and easily parsed
there is any easy mapping to and from UTC
milliseconds feel like a good level of granularity (too much happens in 1s and nanoseconds take one into regimes where defining what "current time" means becomes tricky)
We should probably change the field type to just work with iso-strings (so we can json encode easily) but provide helpers for getting the actual datetime object.
Not having this caused major issues in Vumi.
@hodgestar & @jerith any suggestions from you guys considering the Vumi trouble?
The text was updated successfully, but these errors were encountered: