Closed picoHz closed 2 years ago
Thanks for this. I didn't test that much the windows implementation so I couldn't notice this. I think the doc is a bit confusing because the doc mentions "UNKNOWN" which I assumed meant the system time zone wasn't defined by an identifier which can be looked up into the windows to IANA database.
EDIT: Can you fix the build error?
I'd checked without system feature😅. Fixed the build error.
get_timezone()
always returnsError::Undetermined
unless summer time is used in the current locale.According to Documentation:
Code 0 means success so you have to return the fetched timezone instead of
Error::Undetermined
.