Closed javornikolov closed 7 years ago
Time.now offset leads to unstable test due to DST sensitivity (e.g. the test is broken if executed in winter for Europe/Helsinki time zone). The solution is to take the offset of the specific local date/time.
Time.now
Europe/Helsinki
Thanks you! I'm unfamiliar with DST. Japan has not used DST except for a few years occupied by the U.S.
Time.now
offset leads to unstable test due to DST sensitivity (e.g. the test is broken if executed in winter forEurope/Helsinki
time zone). The solution is to take the offset of the specific local date/time.