##// 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 44 hg debugdate "Sat Sep 08 21:16:40 2001 +0430"
45 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 51 #Test date formats with '>' or '<' accompanied by space characters
48 52 hg log -d '>' --template '{date|date}\n'
49 53 hg log -d '<' hg log -d '>' --template '{date|date}\n'
@@ -34,6 +34,8 b' internal: 999967600 -16200'
34 34 standard: Sat Sep 08 21:16:40 2001 +0430
35 35 internal: 1000000000 16200
36 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 39 Sun Jan 15 13:30:00 2006 +0500
38 40 Sun Jan 15 13:30:00 2006 -0800
39 41 Sat Jul 15 13:30:00 2006 +0500
General Comments 0
You need to be logged in to leave comments. Login now