DateTime2: Intended Functionality of "Today" Button in DateInput2? #6164
Unanswered
scaper12123
asked this question in
Q&A
Replies: 1 comment
-
On my system with |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How is the "Today" button in the DateInput2 component intended to work when considering timezones?
For example, say I'm operating out of EST and I want to create a component that will only think in terms of UTC. Given that the DateInput2 component will assume it is operating on my local timezone by default, my assumption is that programmatically setting it to work in UTC instead will cause the "Today" button to adjust the input time according to the difference between EST and UTC. Is this true?
If not, then how would I create a setup such that, regardless of what time zone I'm working in, inputting "Today" will give me the appropriate UTC timezone?
Beta Was this translation helpful? Give feedback.
All reactions