aboutsummaryrefslogtreecommitdiff
path: root/testsuite/date/date-format-works
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/date/date-format-works')
-rw-r--r--testsuite/date/date-format-works4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/date/date-format-works b/testsuite/date/date-format-works
new file mode 100644
index 0000000..f2a2091
--- /dev/null
+++ b/testsuite/date/date-format-works
@@ -0,0 +1,4 @@
+# TODO: gnu date doesn't accept '2000.11.22-11:22:33' format,
+# but accepts '2000-11-22 11:22:33'. We must follow.
+test x"01/01/99" = x"`busybox date -d 1999.01.01-11:22:33 '+%d/%m/%y'`"
+test x"22/11/00" = x"`busybox date -d 2000.11.22-11:22:33 '+%d/%m/%y'`"