##// END OF EJS Templates
test-parse-date: test 12-hours time formats (issue1804)
Patrick Mezard -
r9384:d91078a2 default
parent child Browse files
Show More
@@ -44,6 +44,10 b' hg debugdate "1000000000 16200" # -0430'
44 hg debugdate "Sat Sep 08 21:16:40 2001 +0430"
44 hg debugdate "Sat Sep 08 21:16:40 2001 +0430"
45 hg debugdate "Sat Sep 08 21:16:40 2001 -0430"
45 hg debugdate "Sat Sep 08 21:16:40 2001 -0430"
46
46
47 # Test 12-hours times
48 hg debugdate "2006-02-01 1:00:30PM +0000"
49 hg debugdate "1:00:30PM" > /dev/null || echo 'failed'
50
47 #Test date formats with '>' or '<' accompanied by space characters
51 #Test date formats with '>' or '<' accompanied by space characters
48 hg log -d '>' --template '{date|date}\n'
52 hg log -d '>' --template '{date|date}\n'
49 hg log -d '<' hg log -d '>' --template '{date|date}\n'
53 hg log -d '<' hg log -d '>' --template '{date|date}\n'
@@ -34,6 +34,8 b' internal: 999967600 -16200'
34 standard: Sat Sep 08 21:16:40 2001 +0430
34 standard: Sat Sep 08 21:16:40 2001 +0430
35 internal: 1000000000 16200
35 internal: 1000000000 16200
36 standard: Sat Sep 08 21:16:40 2001 -0430
36 standard: Sat Sep 08 21:16:40 2001 -0430
37 internal: 1138798830 0
38 standard: Wed Feb 01 13:00:30 2006 +0000
37 Sun Jan 15 13:30:00 2006 +0500
39 Sun Jan 15 13:30:00 2006 +0500
38 Sun Jan 15 13:30:00 2006 -0800
40 Sun Jan 15 13:30:00 2006 -0800
39 Sat Jul 15 13:30:00 2006 +0500
41 Sat Jul 15 13:30:00 2006 +0500
General Comments 0
You need to be logged in to leave comments. Login now