Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
DT = data.table(
t1 = as.POSIXct('2018-05-01 12:34:56', tz = 'UTC'),
t2 = as.POSIXct('2018-05-01 12:34:56', tz = 'Asia/Singapore')
# t1 t2
# 1: 2018-05-01 12:34:56 2018-05-01 12:34:56
#  "2018-05-01 12:34:56 UTC"
#  "2018-05-01 12:34:56 +08"
The printed output makes t1 and t2 seem identical, but they're not.
The same problem applies to data.frames, to be fair:
# t1 t2
# 1 2018-05-01 12:34:56 2018-05-01 12:34:56
Probably timezone printing should be on by default due to the above, but at least there should be an option.
The text was updated successfully, but these errors were encountered:
default format probably best something like +00:00, less dependent on timezone dictionaries in OSes
Sorry, something went wrong.
Issue Rdatatable#2842: added option for printing POSIX with timezone
Successfully merging a pull request may close this issue.