mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-16 03:41:41 +00:00
Merge pull request #1356 from dsander/fix-javascriptagent-timezone
Add initializer which sets the TZ environment variable
This commit is contained in:
commit
e5fcb245e6
1 changed files with 2 additions and 0 deletions
2
config/initializers/timezone.rb
Normal file
2
config/initializers/timezone.rb
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Set the timezone for the JavascriptAgent (libv8 only relies on the TZ variable)
|
||||
ENV['TZ'] = Time.zone.tzinfo.canonical_identifier
|
Loading…
Add table
Reference in a new issue