forked from Trustie/forgeplus
时区读取本地系统local
This commit is contained in:
parent
618d4ad995
commit
2352e1a677
|
|
@ -21,7 +21,7 @@ module Gitlink
|
|||
|
||||
# Custom directories with classes and modules you want to be autoloadable.
|
||||
|
||||
config.active_record.default_timezone = :utc
|
||||
config.active_record.default_timezone = :local
|
||||
config.time_zone = 'Beijing'
|
||||
|
||||
# I18n
|
||||
|
|
|
|||
Loading…
Reference in New Issue