New tests for UTC parser and UTC formatting
[ACL.git] / test / utc_parse.exp
diff --git a/test/utc_parse.exp b/test/utc_parse.exp
new file mode 100644 (file)
index 0000000..cb07c6b
--- /dev/null
@@ -0,0 +1,15 @@
+String "20120208 113456" converts to: "08-02-2012 11:34:56"
+String "2012-02-08" converts to: "08-02-2012 00:00:00"
+String "2012-02-08 11:34" converts to: "08-02-2012 11:34:00"
+String "2012-02-08 11:34:56" converts to: "08-02-2012 11:34:56"
+String "2012 02 08 11.34.56" converts to: "08-02-2012 11:34:56"
+String "08-02-2012" converts to: "08-02-2012 00:00:00"
+String "02/08/2012" converts to: "08-02-2012 00:00:00"
+String "Feb 8 2012" converts to: "08-02-2012 00:00:00"
+String "2012 Feb 8" converts to: "08-02-2012 00:00:00"
+String "8 FEB 2012" converts to: "08-02-2012 00:00:00"
+String "2012 8 feb" converts to: "08-02-2012 00:00:00"
+String "8 February 2012 15:00" converts to: "08-02-2012 15:00:00"
+String "Sun Jun 16 13:02:56 CEST 2019" converts to: "16-06-2019 13:02:56"
+String "8 February" converts to: "08-02--1 00:00:00"
+PASS utc_parse (exit status: 0)