Created
October 10, 2012 17:19
-
-
Save descovi/3867039 to your computer and use it in GitHub Desktop.
Settare l'applicazione per avere una timezone comune.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Le query ora dialogano non più su utc ma sono impostato sulla time zone Italiana. | |
module Registration | |
class Application < Rails::Application | |
config.time_zone = 'Rome' | |
config.active_record.default_timezone = :local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment