public
Fork of lifo/doc-rails
Description: Repository for improving Rails documentation
Homepage: http://www.rubyonrails.org
Clone URL: git://github.com/juretta/doc-rails.git
Search Repo:
revised details in docs of Time.zone=
Xavier Noria (author)
Tue Mar 25 14:43:43 -0700 2008
commit  33ce9d189d44fb1b1395dd180e9655d92fd9ffca
tree    2f309ce2a551bb2103a413670f02f20b83d62311
parent  57620e5e4dee81ee5fb706bbbb4e1d2a012fbd53
...
17
18
19
20
 
21
22
23
 
24
25
26
...
17
18
19
 
20
21
 
 
22
23
24
25
0
@@ -17,10 +17,9 @@ module ActiveSupport #:nodoc:
0
 
0
           # Sets a global default time zone, separate from the system time zone in ENV['TZ'].
0
           # Accepts either a Rails TimeZone object, a string that identifies a
0
- # Rails TimeZone object (e.g., "Central Time (US & Canada)"), or a TZInfo::Timezone object
0
+ # Rails TimeZone object (e.g., "Central Time (US & Canada)"), or a TZInfo::Timezone object.
0
           #
0
- # Any Time or DateTime object can use this default time zone, via #in_time_zone.
0
- # Example:
0
+ # Any Time or DateTime object can use this default time zone, via <tt>in_time_zone</tt>.
0
           #
0
           # Time.zone = 'Hawaii' # => 'Hawaii'
0
           # Time.utc(2000).in_time_zone # => Fri, 31 Dec 1999 14:00:00 HST -10:00

Comments

    No one has commented yet.