From: Tanaka Akira Date: 2013-10-08T06:19:02+09:00 Subject: [ruby-core:57713] Re: [PATCH 1/2] time: fix strptime '%s' 2013/10/8 Felipe Contreras : > It doesn't really say '%s' is UTC, but that it's the seconds since the > Epoch (which is UTC). The Epoch is usually described in UTC but it doesn't mean it is UTC. The Epoch can be described as 1970-01-001 00:00:00 UTC, 1970-01-01 09:00:00 +0900 and others. %s format itself doesn't contain the information for offset from UTC. So I think it is not good idea to change the behavior (and possibly breaks compatibility) for Time.strptime('0', '%s') returns UTC Time object instead of local time Time object. -- Tanaka Akira