Skip to content

Commit

Permalink
use universal time, still fails
Browse files Browse the repository at this point in the history
  • Loading branch information
mabrek committed Nov 27, 2011
1 parent 79d33a2 commit 2f55b00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_src/pgsql_tests.erl
Expand Up @@ -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
Expand Down

0 comments on commit 2f55b00

Please sign in to comment.