Actions
Bug #3542
closedPsych dumps the timezone offset incorrectly at Newfoundland
Description
=begin
Psych dumps the timezone offset incorrectly at Newfoundland.
% TZ=Canada/Newfoundland date '+%z'
-0230
% TZ=Canada/Newfoundland ./ruby -rpsych -e 't = Time.now; p t, Psych.dump(t)'
2010-07-06 00:13:03 -0230
"--- 2010-07-06 00:13:03.676510668 -03:30\n"
% ./ruby -v
ruby 1.9.3dev (2010-07-06 trunk 28554) [i686-linux]
The timezone offset should be -02:30 but psych outputs -03:30.¶
Tanaka Akira
=end
Updated by Anonymous almost 14 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
This issue was solved with changeset r28558.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
Actions
Like0
Like0