mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-25 12:01:03 +00:00
Fixes Google Calendar feed test. Use the current timezone when checking for DST.
This commit is contained in:
parent
faefc55457
commit
e61c9fbf76
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