Skip to content
Browse files

use universal time, still fails

  • Loading branch information...
1 parent 79d33a2 commit 2f55b009d85556149aaabe6354ac0861410bd293 @mabrek committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 test_src/pgsql_tests.erl
View
2 test_src/pgsql_tests.erl
@@ -647,7 +647,7 @@ check_type(Type, In, Out, Values, Column) ->
compare(_Type, null, null) -> true;
compare(float4, V1, V2) -> abs(V2 - V1) < 0.000001;
compare(float8, V1, V2) -> abs(V2 - V1) < 0.000000000000001;
-compare(timestamp, V1 = {_,_,_}, V2) -> calendar:now_to_local_time(V1) =:= V2;
+compare(timestamp, V1 = {_,_,_}, V2) -> calendar:now_to_universal_time(V1) =:= V2;
compare(_Type, V1, V2) -> V1 =:= V2.
%% flush mailbox

0 comments on commit 2f55b00

Please sign in to comment.
Something went wrong with that request. Please try again.