Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 9097

Show
Ignore:
Timestamp:
03/26/08 21:01:30 (7 months ago)
Author:
david
Message:

New applications should use UTC as the default time zone

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/railties/CHANGELOG

    r9093 r9097  
    33* Improve documentation. [Radar, Jan De Poorter, chuyeow, xaviershay, danger, miloops, Xavier Noria,  Sunny Ripert] 
    44 
    5 * Added config.time_zone = 'UTC' as a commented-out option in the default environment.rb [Geoff Buesing] 
    6  
    7 * Adding rake tasks time:zones:all, time:zones:us and time:zones:local for finding time zone names for config.time_zone option [Geoff Buesing] 
     5* Added config.time_zone = 'UTC' in the default environment.rb [Geoff Buesing] 
     6 
     7* Added rake tasks time:zones:all, time:zones:us and time:zones:local for finding time zone names for config.time_zone option [Geoff Buesing] 
     8 
     9* Add config.time_zone for configuring the default Time.zone value.  #10982 [Geoff Buesing] 
    810 
    911* Added support for installing plugins hosted at git repositories #11294 [danger] 
     
    1113* Fixed that script/generate would not look for plugin generators in plugin_paths #11000 [glv] 
    1214 
    13 * Fix database rake tasks to work with charset/collation and show proper error messages on failure. Closes #11301 [matt] 
    14  
    15 * add a -e/--export to script/plugin install, uses svn export. #10847 [jon@blankpad.net)] 
    16  
    17 * Add config.time_zone for configuring the default Time.zone value.  #10982 [Geoff Buesing] 
     15* Fixed database rake tasks to work with charset/collation and show proper error messages on failure. Closes #11301 [matt] 
     16 
     17* Added a -e/--export to script/plugin install, uses svn export. #10847 [jon@blankpad.net)] 
    1818 
    1919* Reshuffle load order so that routes and observers are initialized after plugins and app initializers.  Closes #10980 [rick] 
  • trunk/railties/environments/environment.rb

    r9078 r9097  
    3333  # config.log_level = :debug 
    3434 
     35  # Make Time.zone default to the specified zone, and make ActiveRecord store time values 
     36  # in the database in UTC, and return them converted to the specified local zone. 
     37  # Run `rake -D time` for a list of tasks for finding time zone names. Uncomment to use default local time. 
     38  config.time_zone = 'UTC' 
     39 
    3540  # Your secret key for verifying cookie session data integrity. 
    3641  # If you change this key, all old sessions will become invalid! 
     
    5459  # Activate observers that should always be running 
    5560  # config.active_record.observers = :cacher, :garbage_collector 
    56  
    57   # Make Time.zone default to the specified zone, and make ActiveRecord store time values 
    58   # in the database in UTC, and return them converted to the specified local zone. 
    59   # Run `rake -D time` for a list of tasks for finding time zone names. 
    60   # config.time_zone = 'UTC' 
    6161end