espelhamento de
https://github.com/therootcompany/tz.js.git
sincronizado 2024-11-16 17:29:01 +00:00
Update index.html
Esse commit está contido em:
pai
d314200e03
commit
7acf670aa6
@ -31,8 +31,11 @@
|
||||
<br />
|
||||
<span class="js-my-dt">YYYY-MM-DDThh:mm:ss.mmm+0000</span>
|
||||
</h3>
|
||||
<pre><code>new Intl.DateTimeFormat().resolvedOptions().timeZone;</code></pre>
|
||||
Current Time Zone: <span class="js-my-tz">America/XXXX</span>
|
||||
<br />
|
||||
<pre><code>String(((new Date()).getTimezoneOffset() / 60)).padStart(2, '0') +
|
||||
String(((new Date()).getTimezoneOffset() % 60)).padStart(2, '0')</code></pre>
|
||||
Current Time Offset: <span class="js-my-offset">-0000</span>
|
||||
<hr />
|
||||
|
||||
|
||||
Carregando…
x
Referência em uma nova issue
Block a user