mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-11-15 09:21:25 +00:00
Fixes Google Calendar feed test. Use the current timezone when checking for DST.
This commit is contained in:
parent
e364deaa52
commit
f55a1f8401
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ feature 'Google Calendar widget', js: :true do
|
|||
end
|
||||
|
||||
def timezone_adjusted
|
||||
if Time.now.dst?
|
||||
if Time.zone.now.dst?
|
||||
"14:30 EDT"
|
||||
else
|
||||
"15:30 EST"
|
||||
|
|
Loading…
Reference in a new issue