summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/utils.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/utils.cpp b/tests/utils.cpp
index 084a048..5913f8d 100644
--- a/tests/utils.cpp
+++ b/tests/utils.cpp
@@ -127,5 +127,7 @@ TEST_CASE("parse_datetime")
const auto time = utils::parse_datetime("1970-01-01T00:00:00Z");
CHECK(time == 0);
CHECK(utils::parse_datetime("2016-08-29T14:29:28Z") == 1472480968);
+ CHECK(utils::parse_datetime("2016-08-29T14:29:28UT") == 1472480968);
+ CHECK(utils::parse_datetime("2016-08-29T14:29:28GMT") == 1472480968);
CHECK(utils::parse_datetime("blah") == -1);
} \ No newline at end of file