Subject: | Suggestion: improve HWD::Work's understanding of common date formats |
Date: | Fri, 10 Mar 2006 09:39:18 -0800 (PST) |
To: | bugs-hwd [...] rt.cpan.org |
From: | Bob Diss <rldiss [...] yahoo.com> |
HWD::Work currently parses dates through the aid of
DateTime::Strptime(), using an implied pattern of
YYYY-MM-DD. This prevents it from understanding
"02/03/2006".
The system would be easier to use if it was more
flexibile in the date format it accepted, such as:
MM-DD-YY
MM/DD/YY
MM-DD-YYYY
MM/DD/YYYY
YYYY-MM-DD
YYYY/MM/DD
One may also consider adding support for MM/DD,
assuming there was a way to derive the year
consistently. When HWD files are used as historical
references, it might not be appropriate to use the
current year. Perhaps it's possible to fully specify
a year earlier in the file, and let that become the
default for these short-hand date formats.
Show quoted text
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com