According to the Ruby docs for Time#zone :
As of Ruby 1.8, UTC is returned, not "GMT" for UTC.
My OSX compatible mates see this behavior.
On my Ubuntu 9.10 system, however, Ruby 1.8.7 seems to prefer the old "GMT" terminology:
$ ruby --version ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux] $ ruby -e 'puts Time.now.utc.strftime("%Z")' GMT
Does anyone know why?
source share