I wanted to turn all the dates in my Changes file into the YYYY-MM-DD format (in this case from things like “Aug 27, 2008”). Here’s my one-liner:
|
|
The DateTime project is pretty badass, if I do say so myself. Note that most of the credit here should go to Steven Schubiger for DateTime::Format::Natural
Comments
mirrorkitty.vegas, on 2010-10-15 16:59, said:
It is a pity you had to hose the original content of datetime.perl.org
to prove it. It is now one of the few perl.org sites where the old look (and content) was better
than the new.
Dave Rolsky, on 2010-10-15 17:26, said:
@mirrorkitty: The content is exactly the same on the new wiki as it was on the old, minus the insane
amounts of spam.
If you actually want to do anything on it besides leave snarky comments on my blog, you could look at patching Silki to allow themes and redo the datetime theme.