aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/time_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2011-12-07 16:08:55 +0100
committerBjörn-Egil Dahlberg <[email protected]>2011-12-08 14:12:03 +0100
commit9baa361811a4dd936e73136ea20320423980604b (patch)
tree4d01bafcdd70d7f1fedb1cfe2745559f0988cc11 /erts/emulator/test/time_SUITE.erl
parenta37f854be3aaee3786d555a28bb4c8d53384a852 (diff)
downloadotp-9baa361811a4dd936e73136ea20320423980604b.tar.gz
otp-9baa361811a4dd936e73136ea20320423980604b.tar.bz2
otp-9baa361811a4dd936e73136ea20320423980604b.zip
Change name of bif universaltime_to_seconds/1
* erlang:universaltime_to_seconds/1 changed to erlang:universaltime_to_posixtime/1 * erlang:seconds_to_universaltime/1 changed to erlang:posixtime_to_universaltime/1 Let prim_file.erl reflect these changes.
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.