Skip to content

Commit

Permalink
Update 03-dst-jumps.md (#762)
Browse files Browse the repository at this point in the history
updated the correct year after DST
  • Loading branch information
krishna432 committed May 10, 2023
1 parent 1fbca2d commit 8bb5ffd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/moment-timezone/01-data-calculations/03-dst-jumps.md
Expand Up @@ -8,8 +8,8 @@ You shouldn't assume that the rules you're familiar with from a local time zone
One difference that often catches out developers is that some zones change clocks at midnight.
A good example comes from Jordan (`Asia/Amman`) in 2021:

* One second after `2021-03-25 23:59:59` was `2022-03-26 01:00:00` (DST started).
* One second after `2021-10-29 00:59:59` was `2022-10-29 00:00:00` (DST stopped).
* One second after `2021-03-25 23:59:59` was `2021-03-26 01:00:00` (DST started).
* One second after `2021-10-29 00:59:59` was `2021-10-29 00:00:00` (DST stopped).

This creates the situation where midnight at the start of March 26 **didn't happen**, while midnight on October 29 happened twice.

Expand Down

0 comments on commit 8bb5ffd

Please sign in to comment.