aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2015-02-17 12:23:27 +0100
committerIngela Anderton Andin <[email protected]>2015-02-17 12:23:27 +0100
commit71a9e62710083023c457fb56e7a1c2d9852baaee (patch)
treecd2d1b8506ebc43ad5517247473a9d2cecf2f475
parentef8b1e3e8c908379cec8376ed515c920682224f9 (diff)
downloadotp-71a9e62710083023c457fb56e7a1c2d9852baaee.tar.gz
otp-71a9e62710083023c457fb56e7a1c2d9852baaee.tar.bz2
otp-71a9e62710083023c457fb56e7a1c2d9852baaee.zip
ssl: erlang:timestamp -> os:timestamp
Complements commit 450773958165539951cd431a9233ce7666ec20e2
-rw-r--r--lib/ssl/test/ssl_pem_cache_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/test/ssl_pem_cache_SUITE.erl b/lib/ssl/test/ssl_pem_cache_SUITE.erl
index 36c2a17a50..843079e2fe 100644
--- a/lib/ssl/test/ssl_pem_cache_SUITE.erl
+++ b/lib/ssl/test/ssl_pem_cache_SUITE.erl
@@ -121,7 +121,7 @@ get_pem_cache() ->
end.
later()->
- DateTime = calendar:now_to_local_time(erlang:timestamp()),
+ DateTime = calendar:now_to_local_time(os:timestamp()),
Gregorian = calendar:datetime_to_gregorian_seconds(DateTime),
calendar:gregorian_seconds_to_datetime(Gregorian + (2 * ?CLEANUP_INTERVAL)).