From 328b2e0b322cfa1dbeaba576d00552b0315ba935 Mon Sep 17 00:00:00 2001 From: Jesse Gumm Date: Tue, 11 Mar 2014 22:41:17 -0500 Subject: [PATCH] Fix test where CDT was being implied despite CST specification flipping daylight saving time. --- src/qdate.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qdate.erl b/src/qdate.erl index 60b26ab..7438bc6 100644 --- a/src/qdate.erl +++ b/src/qdate.erl @@ -653,7 +653,7 @@ simple_test(_) -> compare_test(_) -> {inorder,[ ?_assertEqual(true, compare({{2013,9,10},{0,0,0}},'=',"Sep 10th, 2013 12:00am")), - ?_assertEqual(true, compare("9/10/2013 1am EST",'==',"Sep 10th, 2013 12:00:00am CST")), + ?_assertEqual(true, compare("9/10/2013 1am EDT",'==',"Sep 10th, 2013 12:00:00am CDT")), ?_assertEqual(true, compare({{2013,9,10},{0,0,0}},'=<',"Sep 10th, 2013 12:00am")), ?_assertEqual(false, compare({{2013,9,10},{0,0,1}},'=',"Sep 10th, 2013 12:00am")), ?_assertEqual(true, compare({{2013,9,10},{0,0,1}},'=/=',"Sep 10th, 2013 12:00am")),