ruby-changes:33735
From: akr <ko1@a...>
Date: Mon, 5 May 2014 00:57:25 +0900 (JST)
Subject: [ruby-changes:33735] akr:r45816 (trunk): update a comment.
akr 2014-05-05 00:57:16 +0900 (Mon, 05 May 2014) New Revision: 45816 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45816 Log: update a comment. Modified files: trunk/lib/time.rb Index: lib/time.rb =================================================================== --- lib/time.rb (revision 45815) +++ lib/time.rb (revision 45816) @@ -178,8 +178,8 @@ class Time https://github.com/ruby/ruby/blob/trunk/lib/time.rb#L178 if zone_utc?(zone) t.utc elsif offset ||= zone_offset(zone) - # Prefer the local (real) timezone over the fixed offset (artificial) - # timezone. + # Prefer the local timezone over the fixed offset timezone because + # the former is a real timezone and latter is an artificial timezone. t.localtime if t.utc_offset != offset # Use the fixed offset timezone only if the local timezone cannot -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/