Project

General

Profile

Actions

Bug #2396

closed

Time.strftime returns a wrong time zone as hour offset (%z)

Added by chulkilee (Chulki Lee) over 14 years ago. Updated almost 13 years ago.

Status:
Third Party's Issue
Target version:
-
ruby -v:
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10]
[ruby-core:26894]

Description

=begin
Time.now
=> Tue Nov 24 20:47:11 +0900 2009

Time.now.strftime("%a %b %e %H:%M:%S %z %Y (%Z)")
=> Tue Nov 24 20:47:11 +0800 2009 (KST)
=end


Files

tz.c (373 Bytes) tz.c nobu (Nobuyoshi Nakada), 11/28/2009 10:27 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0