##// END OF EJS Templates
Add tests for the fixes to issue1014 (fractional timezones)
Thomas Arendsen Hein -
r6236:ad6b123d default
parent child Browse files
Show More
@@ -32,3 +32,14 b' hg debugrebuildstate'
32 echo "d" > a
32 echo "d" > a
33 hg ci -d "2006-01-15 13:30 +0500" -m "winter@UTC+5"
33 hg ci -d "2006-01-15 13:30 +0500" -m "winter@UTC+5"
34 hg log --template '{date|date}\n'
34 hg log --template '{date|date}\n'
35
36 # Test issue1014 (fractional timezones)
37 hg debugdate "1000000000 -16200" # 0430
38 hg debugdate "1000000000 -15300" # 0415
39 hg debugdate "1000000000 -14400" # 0400
40 hg debugdate "1000000000 0" # GMT
41 hg debugdate "1000000000 14400" # -0400
42 hg debugdate "1000000000 15300" # -0415
43 hg debugdate "1000000000 16200" # -0430
44 hg debugdate "Sat Sep 08 21:16:40 2001 +0430"
45 hg debugdate "Sat Sep 08 21:16:40 2001 -0430"
@@ -15,3 +15,21 b' Sat Apr 15 13:30:00 2006 +0200'
15 Sat Apr 15 13:30:00 2006 +0000
15 Sat Apr 15 13:30:00 2006 +0000
16 Wed Feb 01 13:00:30 2006 -0500
16 Wed Feb 01 13:00:30 2006 -0500
17 Wed Feb 01 13:00:30 2006 +0000
17 Wed Feb 01 13:00:30 2006 +0000
18 internal: 1000000000 -16200
19 standard: Sun Sep 09 06:16:40 2001 +0430
20 internal: 1000000000 -15300
21 standard: Sun Sep 09 06:01:40 2001 +0415
22 internal: 1000000000 -14400
23 standard: Sun Sep 09 05:46:40 2001 +0400
24 internal: 1000000000 0
25 standard: Sun Sep 09 01:46:40 2001 +0000
26 internal: 1000000000 14400
27 standard: Sat Sep 08 21:46:40 2001 -0400
28 internal: 1000000000 15300
29 standard: Sat Sep 08 21:31:40 2001 -0415
30 internal: 1000000000 16200
31 standard: Sat Sep 08 21:16:40 2001 -0430
32 internal: 999967600 -16200
33 standard: Sat Sep 08 21:16:40 2001 +0430
34 internal: 1000000000 16200
35 standard: Sat Sep 08 21:16:40 2001 -0430
General Comments 0
You need to be logged in to leave comments. Login now