Provide function to get the current system timezone name
_This issue was originally filed by greg...@gmail.com_ --- It would be helpful if there was a cross platform way to fetch the iana time zone name for the server where the dart vm is currently running. On Unix this is stored in /etc/timezone, for example on my computer it is "Pacific/Auckland". I don't think this is always possible to do this correctly in the browser. Probably best to leave for a library there. Note: DateTime.now().timeZoneName returns the abbreviated time zone name, which is ambiguous (CST Austrailia, and US), and differs depending on the time of the year. i.e. timeZoneName for me is currently NZDT, but in winter is NZST.
Posted by DartBot on Dec 1, 2014, 8:29 AM
Tags
Related issues
- Custom games stuck on "finding server" for all european servers
- Feature request: add ACP (Agent Client Protocol) stdio JSON-RPC mode
- Forza Horizon 6 (2483190)
- Turn off integrated browser for default
- Weekly updates are too frequent
- [BUG] Max 20x plan: 100% usage after 2 hours of light work (5 commits, no agents)
Raise real-world problems, find people facing the same issue, and discuss solutions.9,000 issues0 comments
github (Sysadmin)
Custom games stuck on "finding server" for all european servers
Feature request: add ACP (Agent Client Protocol) stdio JSON-RPC mode
Forza Horizon 6 (2483190)
Turn off integrated browser for default
Weekly updates are too frequent
[BUG] Max 20x plan: 100% usage after 2 hours of light work (5 commits, no agents)
Add gemini-3.1-pro-preview
[TF2] Feature request: Bring Back Quickplay
Provide function to get the current system timezone name
_This issue was originally filed by greg...@gmail.com_ --- It would be helpful if there was a cross platform way to fetch the iana time zone name for the server where the dart vm is currently running. On Unix this is stored in /etc/timezone, for example on my computer it is "Pacific/Auckland". I don't think this is always possible to do this correctly in the browser. Probably best to leave for a library there. Note: DateTime.now().timeZoneName returns the abbreviated time zone name, which is ambiguous (CST Austrailia, and US), and differs depending on the time of the year. i.e. timeZoneName for me is currently NZDT, but in winter is NZST.
Comments (0)
No comments yet. Start the discussion.