Open
Description
This issue was originally filed by [email protected]
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.