mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 19:48:28 +02:00
Converted to use Rails Time.zone only to honor app time zone
This commit is contained in:
parent
a42136268f
commit
e1041da50f
16 changed files with 34 additions and 31 deletions
|
@ -17,7 +17,7 @@ class PaperSession
|
|||
class << self
|
||||
attr_writer :session
|
||||
def session
|
||||
@session ||= Time.now.to_s(:db)
|
||||
@session ||= Time.zone.now.to_s(:db)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue