Previously ActiveRecord::DateTime object was created from
a PHP DateTime's formatted string ('Y-m-d h:i:s T'),
T represents a 3 letter time zone abbreviation.
And unfortunately UTC+08:00 and UTC-06:00 share a
same abbr. CST.
So suggested fix is to use the timezone information directly
fetched from PHP DateTime object without using any
formatting.
Previously ActiveRecord::DateTime object was created from a PHP DateTime's formatted string ('Y-m-d h:i:s T'),
T
represents a 3 letter time zone abbreviation. And unfortunately UTC+08:00 and UTC-06:00 share a same abbr.CST
.So suggested fix is to use the timezone information directly fetched from PHP DateTime object without using any formatting.