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
Actions
Like0
Like0