Hi all. I'm initializing DatePickerState with mill...
# compose-android
a
Hi all. I'm initializing DatePickerState with milliseconds and have observed that when I'm in a timezone one day behind UTC, DatePicker will show as highlighted the next day instead of current one. The milliseconds I initialize DatePickerState with is
Clock.System.now().toEpochMilliseconds()
coming from kotlinx-datetime. If it's the same day as UTC, everything works as expected. However with a day difference, it seems not to be the case. Anyone else encountering this issue?
a
Indeed. I've even commented on it. 😅 Any ideas how to offset for it to display the correct date?