aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/values
diff options
context:
space:
mode:
authorgbuesing <gbuesing@gmail.com>2008-05-25 11:56:29 -0500
committergbuesing <gbuesing@gmail.com>2008-05-25 11:56:29 -0500
commitf88267d532ecbfebb66b95863a4875b65507ddf3 (patch)
tree105575be266671eecb054406772149ab950d8f2e /activesupport/lib/active_support/values
parent98dc582742779081e71e697fcdf8d9ae2b421b16 (diff)
downloadrails-f88267d532ecbfebb66b95863a4875b65507ddf3.tar.gz
rails-f88267d532ecbfebb66b95863a4875b65507ddf3.tar.bz2
rails-f88267d532ecbfebb66b95863a4875b65507ddf3.zip
TimeZone#to_s shows offset as GMT instead of UTC, because GMT will be more familiar to end users (see time zone selects used by Windows OS, google.com and yahoo.com.) Reverts [8370]
Diffstat (limited to 'activesupport/lib/active_support/values')
-rw-r--r--activesupport/lib/active_support/values/time_zone.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/values/time_zone.rb b/activesupport/lib/active_support/values/time_zone.rb
index 4d7239d8cf..a71c819fba 100644
--- a/activesupport/lib/active_support/values/time_zone.rb
+++ b/activesupport/lib/active_support/values/time_zone.rb
@@ -202,7 +202,7 @@ class TimeZone
# Returns a textual representation of this time zone.
def to_s
- "(UTC#{formatted_offset}) #{name}"
+ "(GMT#{formatted_offset}) #{name}"
end
# Method for creating new ActiveSupport::TimeWithZone instance in time zone of +self+ from given values. Example: