You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This flag is problematic because when a time zone is "in DST" is not well
defined. Most time zones in the world don't use DST at all. Of the ones
that do, most go to DST during the summer for half the year, but not all.
For example, the function in Moment.js that provides this functionality
comes with a giant caveat:
https://momentjs.com/docs/#/query/is-daylight-saving-time/
<p>Return information needed to display the given <ahref="#instant"><code>instant</code></a> in the
205
-
currently configured time zone. This includes the UTC offset, the time
206
-
zone name, and a flag indicating whether daylight saving time is active.</p>
197
+
currently configured time zone. This includes the UTC offset and the
198
+
time zone name.</p>
207
199
<p>If the currently configured timezone cannot be determined, return a
208
-
<ahref="#timezone_display"><code>timezone-display</code></a> for <code>UTC</code> with a <ahref="#utc_offset"><code>utc-offset</code></a> of 0 and no daylight
209
-
saving time.</p>
200
+
<ahref="#timezone_display"><code>timezone-display</code></a> for <code>UTC</code> with a <ahref="#utc_offset"><code>utc-offset</code></a> of 0.</p>
0 commit comments