We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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? Sign in 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') ) DT # t1 t2 # 1: 2018-05-01 12:34:56 2018-05-01 12:34:56 DT$t1 # [1] "2018-05-01 12:34:56 UTC" DT$t2 # [1] "2018-05-01 12:34:56 +08"
The printed output makes t1 and t2 seem identical, but they're not.
t1
t2
The same problem applies to data.frames, to be fair:
data.frame
setDF(copy(DT))[] # 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
f09679f
Successfully merging a pull request may close this issue.
The printed output makes
t1
andt2
seem identical, but they're not.The same problem applies to
data.frame
s, to be fair: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: