From: Ralf Mueller Date: 2013-05-16T00:15:54+09:00 Subject: Re: Help with time This is a multi-part message in MIME format. --------------010408090406040308080405 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 05/15/2013 05:11 PM, ricardo l. wrote: > if i do Time.parse("2013-04-01T12:01:03-07:00").to_time.strftime("%F > %H:%m:%S") i get 2013-04-01 14:04:03 and i want 2013-04-01 12:01:03 > what about the getlocal methods? it return time objects without utc ( http://www.ruby-doc.org/core-2.0/Time.html#method-i-getlocal) --------------010408090406040308080405 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
On 05/15/2013 05:11 PM, ricardo l. wrote:
if i do Time.parse("2013-04-01T12:01:03-07:00").to_time.strftime("%F 
%H:%m:%S") i get 2013-04-01 14:04:03 and i want 2013-04-01 12:01:03

what about the getlocal methods? it return time objects without utc ( http://www.ruby-doc.org/core-2.0/Time.html#method-i-getlocal) --------------010408090406040308080405--