Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime CPAN distribution.

Report information
The Basics
Id: 6982
Status: resolved
Priority: 0/
Queue: DateTime

People
Owner: DROLSKY [...] cpan.org
Requestors: schwern [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: DateTime->strptime()
DateTime has a strftime() method to format existing DateTime objects but no coresponding strptime() method to read in formatted date strings. You have to go find the DateTime::Format::Strptime module. It would be really nice if strptime() was built into DateTime probably by absorbing DateTime::Format::Strptime. This would round out the input/output interface nicely.