busybox/testsuite/date/date-format-works

5 lines
259 B
Plaintext
Raw Normal View History

2008-04-25 01:07:11 +05:30
# 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'`"