Localize datetimes client side? #878
Unanswered
tobymurray
asked this question in
Q&A
Replies: 2 comments 1 reply
-
|
For number two I use |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Client-side localization is one thing, what if I want to display something based on the user's local date. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
As far as I'm aware, there are two options for rendering dates/times in the user's timezone:
Path 1 is pretty straightforward (submitting arbitrary data is easy enough), but with HTMX how can path 2 be accomplished? E.g. an
hx-getreturns2007-04-05T14:30Z, but now what?How are people solving client side localization with HTMX presently?
Might be a little related to: #716
Beta Was this translation helpful? Give feedback.
All reactions