Skip Menu |

This queue is for tickets about the DateTime-Format-Flexible CPAN distribution.

Report information
The Basics
Id: 94911
Status: resolved
Priority: 0/
Queue: DateTime-Format-Flexible

People
Owner: cpan [...] punch.net
Requestors: dswhite42 [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.25
Fixed in: 0.26



Subject: Date formats without seconds
Date: Mon, 21 Apr 2014 12:54:40 -0400
To: cpan [...] punch.net, bug-DateTime-Format-Flexible [...] rt.cpan.org
From: David White <dswhite42 [...] yahoo.com>
Hello.  I appreciate your work on this module - the world needs more flexible date parsing tools! 

Would you consider adding some date formats without seconds?

2/28/2014 14:30:00
expected results: "2014-02-28T14:30:00"
actual results: "2014-02-28T14:30:00" (good)

2/28/2014 14:30
expected results: "2014-02-28T14:30:00"
actual results: <error>

It would also be helpful if it supported the generic "EEE MMM dd HH:mm:ss z yyyy" notation as well

Tue Feb 28 14:30:00 UTC 2014
expected results: "2014-02-28T14:30:00"
actual results: <error>

Thanks!
0.26 is now uploaded to cpan which addresses both of these issues. Thanks for the report