MaterialDateTimePicker
MaterialDateTimePicker copied to clipboard
TimeZone issue
Hi there,
The example I'm working on is to create the date picker with a time zone such as Sydney/Australia. I'm able to do this by specifying the Calendar's timezone when initializing the picker, as the docs suggest. With the debugger I confirmed that the timeZone object in the date picker is correctly set to Sydney/Australia.
Now, when I run the app and I am located in Canada, the date picker still highlights "today" with respect to me here in Canada. I was hoping that the picker would show "today" with respect to Sydney/Australia, as that was the time-zone specified.
I also tried the deprecated setTimeZone method, but no luck. Have I misunderstood this time-zone setting?
I read the previous similar tickets, but couldn't see a way forward.
Many thanks, appreciate any help, Regards, Simon