Migrating api's to jiff
#393
-
This kinda isn't a jiff or even a rust question but might be relevant for people migrating their api's/backends to Currently in some api's (axum) I'm using When switching to
I can't imagine that I'm the only one running into this problem or am I overlooking something? Any insight or solution would be appreciated. Also |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
This is what I would suggest. The part that isn't clear to me is how you're getting a time zone today. RFC 3339 doesn't support time zones. So I would just suggest deserializing into a |
Beta Was this translation helpful? Give feedback.
This is what I would suggest. The part that isn't clear to me is how you're getting a time zone today. RFC 3339 doesn't support time zones.
So I would just suggest deserializing into a
Timestamp
and using that directly. If you don't have a time zone, then you don't need to useZoned
.