Is the Content Delivery API returning naive timestamps for anyone else? #18213
Closed
markadrake
started this conversation in
Features and ideas
Replies: 1 comment 4 replies
-
This place is more for posting feature requests, so I'll recommend you continue this either on the forum or Discord. And if you find steps to reproduce the problem, then it's a good one for the issue tracker. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The documentation leads me to believe that the timestamp I'd get back looks like this:
In version 13.6.0 of Umbraco, I receive this:
This is a problem because JavaScript treats this as a naive date and does not transform it to the visitor's time zone. I have to perform extra work on the client side to address this. I'm wondering if this was always the case if a recent update caused a change, or if something we've done has inadvertently impacted the API.
Beta Was this translation helpful? Give feedback.
All reactions