summaryrefslogtreecommitdiff
path: root/src/test/test-date.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-03-25 04:08:16 +0100
committerLennart Poettering <lennart@poettering.net>2014-03-25 04:08:16 +0100
commit5ba6e0949cef1a5b947dd59665bad1ca5066619d (patch)
tree8ebd76a03be18a8c45640e8b66e4e01fdf57d021 /src/test/test-date.c
parenta2b135e3d8d5dfa103a87e304ed8a91b01fdbb02 (diff)
time: support @ syntax for denoting times since the UNIX epoch 1970-1-1
Diffstat (limited to 'src/test/test-date.c')
-rw-r--r--src/test/test-date.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test-date.c b/src/test/test-date.c
index 40ffc17b2f..0586b78b6d 100644
--- a/src/test/test-date.c
+++ b/src/test/test-date.c
@@ -56,6 +56,7 @@ int main(int argc, char *argv[]) {
test_one("+2d");
test_one("+2y 4d");
test_one("5months ago");
+ test_one("@1395716396");
return 0;
}