diff options
author | Björn Gustavsson <[email protected]> | 2017-05-22 13:29:24 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-05-29 10:16:03 +0200 |
commit | 7fbda5f4bb33776758bf7e3a31d8ee6ee2aa46db (patch) | |
tree | ab486d42ea34abed8fd28b1471670453ac018593 /lib/stdlib/src/io_lib_format.erl | |
parent | 8404980fda28ca9a8d4e8899736a77c9d09a568d (diff) | |
download | otp-7fbda5f4bb33776758bf7e3a31d8ee6ee2aa46db.tar.gz otp-7fbda5f4bb33776758bf7e3a31d8ee6ee2aa46db.tar.bz2 otp-7fbda5f4bb33776758bf7e3a31d8ee6ee2aa46db.zip |
erl_tar: Fix handling of date and time
Since aa0c4b0df7cdc, erl_tar would write the local time (instead of
the POSIX time) into the tar header for the archived files. When
extracting the tar file, the extracted file could be set to a future
time (depending on the time zone).
We could do a minimal fix, but this seems to be a good time
to rewrite the time handling to use the new features that
allow file info to be read and written in the POSIX time
format.
First reported here: https://github.com/erlang/rebar3/issues/1554
Diffstat (limited to 'lib/stdlib/src/io_lib_format.erl')
0 files changed, 0 insertions, 0 deletions