I have the following JSON:
{"dtime" : "2020-08-26T15:30:00+03:00"}
Parsing it, yields the following date:
=> 2020-08-26 14:30:00 +0200
Why does it have a +2 offset and not a +3 one?
EDIT: I'm using Rails 3.2.13, with ActiveSupport 3.2.13. I'm trying to parse the string by using:
Time.parse(string)
I've noticed, however, that if I parse it with:
DateTime.parse(string)
I get a correct offset.