mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-13 13:21:29 +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
|
end
|
||||||
|
|
||||||
def timezone_adjusted
|
def timezone_adjusted
|
||||||
if Time.now.dst?
|
if Time.zone.now.dst?
|
||||||
"14:30 EDT"
|
"14:30 EDT"
|
||||||
else
|
else
|
||||||
"15:30 EST"
|
"15:30 EST"
|
||||||
|
|
Loading…
Reference in a new issue