docbrown/spec/views
Daniel Uber e3ebc623da
Compare the utc offset from the timestamp, not now (#15256)
Time Zones are political things, and move. The timezone database knows
this, and correctly interprets times as they would have been at the
time.

For example, when the Time zone is Africa/Monrovia, the offset now is
0, but the offset in 1970 was -44.5 minutes, so Time.zone.at(0) is Dec
31st, 1969, 23:15:30 and not Jan 1st, 1970 00:00:00.

Prevent this spec from randomly failing based on Zonebie's selected
timezone by comparing the offset _then_ against UTC, and predicting
whether the 60's have ended yet.
2021-11-01 15:49:35 -05:00
..
comments Use new UserSetting and UserNotificationSettings and Ignore Related User Table Fields (#14121) 2021-07-08 09:31:34 -05:00
dashboards Fix rotation of images uploaded from iPhones (#15010) 2021-10-11 15:17:14 -04:00
email_subscriptions Clean up SiteConfig (#13738) 2021-05-18 09:38:31 +07:00
layouts Clean up SiteConfig (#13738) 2021-05-18 09:38:31 +07:00
stories Split Settings::Community from SiteConfig (#13403) 2021-04-26 10:46:35 +02:00
users [deploy] Move settings tabs to constant (#10859) 2020-10-16 08:30:58 +07:00
articles_spec.rb Compare the utc offset from the timestamp, not now (#15256) 2021-11-01 15:49:35 -05:00