|XP is just a number|
Weird date format behavior with WWW::Mechanizeby whakka (Hermit)
|on Apr 01, 2008 at 20:52 UTC||Need Help??|
whakka has asked for the
wisdom of the Perl Monks concerning the following question:
I'm parsing multiple web pages that have dates in the text that look like this: "11/17/2006." They look like this in a browser and in the source.
However, when I get the page with a WWW::Mechanize bot and dump its contents, the date changes to: "Fri Nov 17 00:00:00 EST 2006."
This is confusing the heck out of me, does anyone know what's going on? If not, what's the best way to turn it back into its original format?
Update: code added in comments.