diff options
author | Dan Gudmundsson <[email protected]> | 2015-01-30 15:56:28 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2015-03-20 15:28:53 +0100 |
commit | 9cf2be0481f26e3251fdb9de0a5d5901f4faee83 (patch) | |
tree | 73cc3e38a86a708888a38094eae5ba106f6fbe32 /lib/observer/src/ttb.erl | |
parent | 4deb4dbc453318bcdf2f6f160cdb219fb31f7926 (diff) | |
download | otp-9cf2be0481f26e3251fdb9de0a5d5901f4faee83.tar.gz otp-9cf2be0481f26e3251fdb9de0a5d5901f4faee83.tar.bz2 otp-9cf2be0481f26e3251fdb9de0a5d5901f4faee83.zip |
Replace usage of erlang:now() with usage of new API
Diffstat (limited to 'lib/observer/src/ttb.erl')
-rw-r--r-- | lib/observer/src/ttb.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/observer/src/ttb.erl b/lib/observer/src/ttb.erl index 61fd6d1787..a2db40aa2f 100644 --- a/lib/observer/src/ttb.erl +++ b/lib/observer/src/ttb.erl @@ -849,7 +849,7 @@ get_nodes() -> receive {?MODULE,Nodes} -> Nodes end. ts() -> - {{Y,M,D},{H,Min,S}} = calendar:now_to_local_time(now()), + {{Y,M,D},{H,Min,S}} = calendar:now_to_local_time(erlang:timestamp()), io_lib:format("-~4.4.0w~2.2.0w~2.2.0w-~2.2.0w~2.2.0w~2.2.0w", [Y,M,D,H,Min,S]). |