aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/time_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'erts/emulator/test/time_SUITE.erl')
-rw-r--r--erts/emulator/test/time_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/time_SUITE.erl b/erts/emulator/test/time_SUITE.erl
index b8e2cf51d2..4d12e3449c 100644
--- a/erts/emulator/test/time_SUITE.erl
+++ b/erts/emulator/test/time_SUITE.erl
@@ -172,7 +172,7 @@ univ_to_seconds(Config) when is_list(Config) ->
test_univ_to_seconds([{Datetime, Seconds}|DSs]) ->
io:format("universaltime = ~p -> seconds = ~p", [Datetime, Seconds]),
- Seconds = erlang:universaltime_to_seconds(Datetime),
+ Seconds = erlang:universaltime_to_posixtime(Datetime),
test_univ_to_seconds(DSs);
test_univ_to_seconds([]) ->
ok.
@@ -183,7 +183,7 @@ seconds_to_univ(Config) when is_list(Config) ->
test_seconds_to_univ([{Datetime, Seconds}|DSs]) ->
io:format("universaltime = ~p <- seconds = ~p", [Datetime, Seconds]),
- Datetime = erlang:seconds_to_universaltime(Seconds),
+ Datetime = erlang:posixtime_to_universaltime(Seconds),
test_seconds_to_univ(DSs);
test_seconds_to_univ([]) ->
ok.