Browse files

Update AR default timezone docs.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3561 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent d424674 commit 08bda903ec2b391e3d5660fdd1ea8f6137fecbd8 @jeremy jeremy committed Feb 9, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/timestamp.rb
View
2 activerecord/lib/active_record/timestamp.rb
@@ -4,7 +4,7 @@ module ActiveRecord
# automatically included, so you don't need to do that manually.
#
# This behavior can be turned off by setting <tt>ActiveRecord::Base.record_timestamps = false</tt>.
- # This behavior can use GMT by setting <tt>ActiveRecord::Base.timestamps_gmt = true</tt>
+ # This behavior by default uses local time, but can use UTC by setting <tt>ActiveRecord::Base.default_timezone = :utc</tt>
module Timestamp
def self.append_features(base) # :nodoc:
super

0 comments on commit 08bda90

Please sign in to comment.