So this is awkward. 🐢
irb(main):001:0> Time.new(2013,4,22,14,18,05,'-05:00')
=> 2013-04-22 14:18:05 +0500
irb(main):002:0> Time.new(2013,4,22,14,18,05,'+05:00')
=> 2013-04-22 14:18:05 -0500
It would appear it's just the printing however, because this is reporting the correct data:
irb(main):005:0> Time.new(2013,4,22,14,18,05,'-05:00').zone
=> "GMT-5"
asarih knows things about this defect:
flyinprogramer: why is Time in jruby inverting the timezone ?
asarih: flyinprogramer: cause it was a bug.
asarih: I thought I fixed it…
asarih: it's not. :-S