Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Time zone
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== JavaScript ==== Traditionally, there was very little in the way of time zone support for [[JavaScript]]. Essentially the programmer had to extract the UTC offset by instantiating a time object, getting a GMT time from it, and differencing the two. This does not provide a solution for more complex daylight saving variations, such as divergent DST directions between northern and southern hemispheres. ECMA-402, the standard on Internationalization API for JavaScript, provides ways of formatting Time Zones.<ref>{{Cite web | title = ECMAScript 2015 Internationalization API Specification | publisher = ECMA International | date = June 2015 | access-date = September 4, 2019 | url = https://www.ecma-international.org/ecma-402/2.0/#sec-time-zone-names | archive-date = October 26, 2019 | archive-url = https://web.archive.org/web/20191026140400/https://www.ecma-international.org/ecma-402/2.0/#sec-time-zone-names | url-status = live }}</ref> However, due to size constraint, some implementations or distributions do not include it.<ref>{{Cite web | title = Internationalization Support | work = Node.js v12.10.0 Documentation | access-date = September 4, 2019 | url = https://nodejs.org/api/intl.html#intl_disable_all_internationalization_features_none | archive-date = August 28, 2019 | archive-url = https://web.archive.org/web/20190828234745/https://nodejs.org/api/intl.html#intl_disable_all_internationalization_features_none | url-status = live }}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)