diff options
author | Douglas Christman <DouglasChristman@gmail.com> | 2016-11-24 14:34:17 -0500 |
---|---|---|
committer | Douglas Christman <DouglasChristman@gmail.com> | 2016-11-24 18:22:08 -0500 |
commit | 3215e35c405278491f55fb486d349f132e93f516 (patch) | |
tree | 92e59a861b2882caa1d720805bc0c07caa98bdb6 /src/test/test-calendarspec.c | |
parent | 9dfa81a00a9a7d4536f96848119c5ad40d9d72b4 (diff) |
calendarspec: make specifications with seconds wildcard reversible
"*:*:*" is now formatted as "*:*:*" instead of "*:*:00/1"
Diffstat (limited to 'src/test/test-calendarspec.c')
-rw-r--r-- | src/test/test-calendarspec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test-calendarspec.c b/src/test/test-calendarspec.c index 873a4910d2..d4bb4a1707 100644 --- a/src/test/test-calendarspec.c +++ b/src/test/test-calendarspec.c @@ -183,6 +183,7 @@ int main(int argc, char* argv[]) { test_one("Monday", "Mon *-*-* 00:00:00"); test_one("Monday *-*-*", "Mon *-*-* 00:00:00"); test_one("*-*-*", "*-*-* 00:00:00"); + test_one("*:*:*", "*-*-* *:*:*"); test_next("2016-03-27 03:17:00", "", 12345, 1459048620000000); test_next("2016-03-27 03:17:00", "CET", 12345, 1459041420000000); |