Skip to content

Instantly share code, notes, and snippets.

@gerardpaapu
Created October 24, 2013 23:09
Show Gist options
  • Save gerardpaapu/7146727 to your computer and use it in GitHub Desktop.
Save gerardpaapu/7146727 to your computer and use it in GitHub Desktop.
I found problems in these TZs
In Amman (+03:00): new Date(2014, 2, 28).getDate() != 28
In Beirut (+03:00): new Date(2013, 2, 31).getDate() != 31
In Jerusalem (+03:00): new Date(2013, 2, 29).getDate() != 29
In Tehran (+03:30): new Date(2013, 2, 22).getDate() != 22
In Baku (+05:00): new Date(2013, 2, 31).getDate() != 31
In Adelaide (+10:30): new Date(2013, 9, 6).getDate() != 6
In Canberra (+11:00): new Date(2013, 9, 6).getDate() != 6
In Hobart (+11:00): new Date(2013, 9, 6).getDate() != 6
In Auckland (+13:00): new Date(2013, 8, 29).getDate() != 29
In Suva (+13:00): new Date(2013, 9, 20).getDate() != 20
In Samoa (+14:00): new Date(2013, 8, 29).getDate() != 2
In Brasilia (-02:00): new Date(2013, 1, 17).getDate() != 17
In Nuuk (-02:00): new Date(2013, 9, 27).getDate() != 27
In Cuiaba (-03:00): new Date(2013, 1, 17).getDate() != 17
In Santiago (-03:00): new Date(2013, 3, 28).getDate() != 28
I couldn't find:
Newfoundland, Azores, Most of the American/Canadian Timezones
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment