Is it possible to get timezone abbreviations using the TimeZone or
TzinfoTimezone classes? Even after converting UTC to localtime it still
reports the timezone abbreviation as UTC.
Example:
@tz = TzinfoTimezone.us_zones[2]
=> #<TzinfoTimezone:0x30868a0 @utc_offset=-28800, @name=“Pacific Time
(US & Canada)”>@tz.now
=> Wed Jan 24 12:36:56 UTC 2007@tz.now.strftime("%Z")
=> “UTC”
It seems to me that the timezone abbreviation (%Z) should be “PST” in
this case.