Changeset 8370
- Timestamp:
- 12/10/07 10:08:07 (7 months ago)
- Files:
-
- trunk/activesupport/CHANGELOG (modified) (1 diff)
- trunk/activesupport/lib/active_support/values/time_zone.rb (modified) (1 diff)
- trunk/activesupport/test/time_zone_test.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/activesupport/CHANGELOG
r8359 r8370 1 1 *SVN* 2 3 * TimeZone#to_s uses UTC rather than GMT. #1689 [Chu Yeow] 2 4 3 5 * Refactor of Hash#symbolize_keys! to use Hash#replace. Closes #10420 [ReinH] trunk/activesupport/lib/active_support/values/time_zone.rb
r8369 r8370 69 69 # Returns a textual representation of this time zone. 70 70 def to_s 71 "( GMT#{formatted_offset}) #{name}"71 "(UTC#{formatted_offset}) #{name}" 72 72 end 73 73 trunk/activesupport/test/time_zone_test.rb
r8369 r8370 68 68 def test_to_s 69 69 zone = TimeZone.create( "Test", 4200 ) 70 assert_equal "( GMT+01:10) Test", zone.to_s70 assert_equal "(UTC+01:10) Test", zone.to_s 71 71 end 72 72