Bug #141

Missing Time#strftime

Added by Charles Nutter 384 days ago. Updated 139 days ago.

Status :Resolved Start :08/20/2009
Priority :Normal Due date :
Assigned to :- % Done :

100%

Category :-
Target version :-

Description

There are many missing strftime cases. The fix for http://jira.codehaus.org/browse/JRUBY-3871 did not fix any tagged specs, because none of the cases added have specs. There may be others.

0001-Added-more-tests-to-Time.strftime.patch (2.7 KB) Michael Tomer, 09/18/2009 01:59 PM

0001-Added-x-X-Z-cases-to-Time.strftime.patch (1.5 KB) Dustin Barker, 04/21/2010 09:49 PM

History

09/18/2009 01:59 PM - Michael Tomer

This patch adds cases for many of the tokens, though not all. The following tokens still need to be covered:

%x - Preferred representation for the date alone, no time
%X - Preferred representation for the time alone, no date
%Z - Time zone name

09/18/2009 02:10 PM - Brian Ford

Hi,

This patch was committed in 301d7a0a. Hit me up in #rubinius or #rubyspec for a commit bit.

Thanks,
Brian

04/21/2010 09:49 PM - Dustin Barker

This patch adds missing cases (%x, %X, %Z)

04/22/2010 10:31 AM - Brian Ford

  • Status changed from New to Resolved

Committed in b01beda. Thanks for the patch!

Cheers,
Brian

Also available in: Atom PDF