Comment 6 for bug 574116

Revision history for this message
MarcRandolph (mrand) wrote : Re: UnixDate broken in Date::Manip in 10.04/Lucid

Developers response from https://rt.cpan.org/Public/Bug/Display.html?id=57513

If you change the word 'today' to 'now', it will work.

From the Changes5to6 manual:

The words "today", "tomorrow", and "yesterday" in 5.xx referred to the
time now, 24 hours in the future, and 24 hours in the past respectively.

As of 6.00, these are treated strictly as date strings, so they are the
current day, the day before, or the day after at the time 00:00:00.

The string "now" still refers to the current date and time.