aboutsummaryrefslogtreecommitdiffstats
path: root/erts/preloaded
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2011-06-27 16:06:53 +0200
committerBjörn-Egil Dahlberg <[email protected]>2011-12-02 15:41:14 +0100
commit7be5712096a0fdf44e2b31d493f03688d4c137e9 (patch)
treeb25c2e89055e426c8058a29716aadf69e8245500 /erts/preloaded
parentf356bb25df7fe4d6a20d7427b4b4249e9219157c (diff)
downloadotp-7be5712096a0fdf44e2b31d493f03688d4c137e9.tar.gz
otp-7be5712096a0fdf44e2b31d493f03688d4c137e9.tar.bz2
otp-7be5712096a0fdf44e2b31d493f03688d4c137e9.zip
Do not use calendar module in preloaded
Bad practice
Diffstat (limited to 'erts/preloaded')
-rw-r--r--erts/preloaded/src/prim_zip.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/preloaded/src/prim_zip.erl b/erts/preloaded/src/prim_zip.erl
index 392a9feb45..d29f17ae56 100644
--- a/erts/preloaded/src/prim_zip.erl
+++ b/erts/preloaded/src/prim_zip.erl
@@ -432,7 +432,7 @@ binary_io({file_info, B}, _) ->
is_binary(B) -> {regular, byte_size(B)};
B =:= directory -> {directory, 0}
end,
- Now = calendar:local_time(),
+ Now = erlang:localtime(),
#file_info{size = Size, type = Type, access = read_write,
atime = Now, mtime = Now, ctime = Now,
mode = 0, links = 1, major_device = 0,