From: Andy Allan Date: Wed, 14 Jun 2023 15:29:26 +0000 (+0100) Subject: Fix test to work in non-UK timezones X-Git-Tag: live~1307^2~1 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/2f7642aa035a82576ee4bb69c284005d731c081e?hp=2f7642aa035a82576ee4bb69c284005d731c081e Fix test to work in non-UK timezones Time.new(...).utc is not the same as Time.utc(...). The first creates a given date in local time, and then converts that to utc, whereas the second creates the given time in UTC. ---