Skip to content
Snippets Groups Projects
Commit ad6b123de1c7 authored by Thomas Arendsen Hein's avatar Thomas Arendsen Hein
Browse files

Add tests for the fixes to issue1014 (fractional timezones)

parent d16798000be0
No related branches found
No related tags found
No related merge requests found
......@@ -32,3 +32,14 @@
echo "d" > a
hg ci -d "2006-01-15 13:30 +0500" -m "winter@UTC+5"
hg log --template '{date|date}\n'
# Test issue1014 (fractional timezones)
hg debugdate "1000000000 -16200" # 0430
hg debugdate "1000000000 -15300" # 0415
hg debugdate "1000000000 -14400" # 0400
hg debugdate "1000000000 0" # GMT
hg debugdate "1000000000 14400" # -0400
hg debugdate "1000000000 15300" # -0415
hg debugdate "1000000000 16200" # -0430
hg debugdate "Sat Sep 08 21:16:40 2001 +0430"
hg debugdate "Sat Sep 08 21:16:40 2001 -0430"
......@@ -15,3 +15,21 @@
Sat Apr 15 13:30:00 2006 +0000
Wed Feb 01 13:00:30 2006 -0500
Wed Feb 01 13:00:30 2006 +0000
internal: 1000000000 -16200
standard: Sun Sep 09 06:16:40 2001 +0430
internal: 1000000000 -15300
standard: Sun Sep 09 06:01:40 2001 +0415
internal: 1000000000 -14400
standard: Sun Sep 09 05:46:40 2001 +0400
internal: 1000000000 0
standard: Sun Sep 09 01:46:40 2001 +0000
internal: 1000000000 14400
standard: Sat Sep 08 21:46:40 2001 -0400
internal: 1000000000 15300
standard: Sat Sep 08 21:31:40 2001 -0415
internal: 1000000000 16200
standard: Sat Sep 08 21:16:40 2001 -0430
internal: 999967600 -16200
standard: Sat Sep 08 21:16:40 2001 +0430
internal: 1000000000 16200
standard: Sat Sep 08 21:16:40 2001 -0430
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment