-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
system time zone lib #30
Comments
There's a crossplatform timezone library already. Mark Waddingham just pointed this out to me last week as part of an answer to a different question. |
mark, |
I was wondering how to attach a binary file to an extension and Mr Waddingham pointed me to the timezone library which has the necessary binaries in a "code" subfolder (and appropriate platform subfolders under that). As far as the tz library itself, you can't automatically determine your local timezone, but once you've got it you can convert to UTC, perform calculations, and convert back to local time again. The dictionary lists three functions in the library. |
The timezone library uses some outdated timezones. |
fun |
There was a discussion on the use list about the system time zone. i wonder if we have native api's that would be hookable, and a good example for everyone.
The text was updated successfully, but these errors were encountered: