Skip to content
Discussion options

You must be logged in to vote

Hi @paymog ,

In your pattern Z is matched as a literal so the timestamp is interpreted as a timestamp without a timezone, which is why it uses the local timezone. I think you want: parse_timestamp!("2024-07-29T14:13:44.573709634Z", "%+") which will use the timezone from the timestamp.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@paymog
Comment options

Answer selected by paymog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants