there is a subtle bug in wall-time calculations. Asia/Irkutsk times are incorrect.
This commit is contained in:
@@ -58,3 +58,10 @@ add_seconds_test_() ->
|
||||
].
|
||||
|
||||
|
||||
|
||||
|
||||
compare_test_() ->
|
||||
[
|
||||
?_assert(ezic_date:compare({2011,12,12}, current))
|
||||
, ?_assertNot(ezic_date:compare(current, {2099,12,12})) % is this the right behavior?
|
||||
].
|
||||
|
||||
Reference in New Issue
Block a user