test-parse-date: test 12-hours time formats (
issue1804)
--- a/tests/test-parse-date Fri Aug 21 21:52:57 2009 +1200
+++ b/tests/test-parse-date Sun Aug 23 11:32:44 2009 +0200
@@ -44,6 +44,10 @@
hg debugdate "Sat Sep 08 21:16:40 2001 +0430"
hg debugdate "Sat Sep 08 21:16:40 2001 -0430"
+# Test 12-hours times
+hg debugdate "2006-02-01 1:00:30PM +0000"
+hg debugdate "1:00:30PM" > /dev/null || echo 'failed'
+
#Test date formats with '>' or '<' accompanied by space characters
hg log -d '>' --template '{date|date}\n'
hg log -d '<' hg log -d '>' --template '{date|date}\n'
--- a/tests/test-parse-date.out Fri Aug 21 21:52:57 2009 +1200
+++ b/tests/test-parse-date.out Sun Aug 23 11:32:44 2009 +0200
@@ -34,6 +34,8 @@
standard: Sat Sep 08 21:16:40 2001 +0430
internal: 1000000000 16200
standard: Sat Sep 08 21:16:40 2001 -0430
+internal: 1138798830 0
+standard: Wed Feb 01 13:00:30 2006 +0000
Sun Jan 15 13:30:00 2006 +0500
Sun Jan 15 13:30:00 2006 -0800
Sat Jul 15 13:30:00 2006 +0500