Skip to content

Instantly share code, notes, and snippets.

@descovi
Created October 10, 2012 17:19
Show Gist options
  • Save descovi/3867039 to your computer and use it in GitHub Desktop.
Save descovi/3867039 to your computer and use it in GitHub Desktop.
Settare l'applicazione per avere una timezone comune.
# 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