aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/dets.erl
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2016-08-24 15:57:53 +0200
committerRickard Green <[email protected]>2016-08-25 17:37:44 +0200
commit5e57b3faccba1ae66ebd40fed23f5770eee71b04 (patch)
treeb7eb1632247fa179bd852177f4c02980d5571a6a /lib/stdlib/src/dets.erl
parentfc85e401ee279cc3b69635a71ffa93544ce5b99d (diff)
downloadotp-5e57b3faccba1ae66ebd40fed23f5770eee71b04.tar.gz
otp-5e57b3faccba1ae66ebd40fed23f5770eee71b04.tar.bz2
otp-5e57b3faccba1ae66ebd40fed23f5770eee71b04.zip
Replace usage of deprecated time units
Diffstat (limited to 'lib/stdlib/src/dets.erl')
-rw-r--r--lib/stdlib/src/dets.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/dets.erl b/lib/stdlib/src/dets.erl
index bf22949870..8ce29f23d3 100644
--- a/lib/stdlib/src/dets.erl
+++ b/lib/stdlib/src/dets.erl
@@ -3305,7 +3305,7 @@ time_now() ->
make_timestamp(MonTime, TimeOffset) ->
ErlangSystemTime = erlang:convert_time_unit(MonTime+TimeOffset,
native,
- micro_seconds),
+ microsecond),
MegaSecs = ErlangSystemTime div 1000000000000,
Secs = ErlangSystemTime div 1000000 - MegaSecs*1000000,
MicroSecs = ErlangSystemTime rem 1000000,