Hi!
Installed another linux box today and installed my usual set of modules.
There was a problem with Date::Manip (installed a 6.xx version) The
function UnixDate now returns "1" instead of the correct date. When i
copied an older 5.xx version to that box, everything worked again.
Date::Manip::Migration5to6 doesn't mention anything related to
UnixDate(), and the function description didn't change either as far as
i can tell.
The code i use is something like this:
use Date::Manip qw(Date_Init UnixDate);
Date_Init("TZ=CET");
my $datestring = UnixDate("last friday in june 2009", "%Y-%m-%d");
The whole kaboodle is a bit more complex, but im fairly certain that are
the offending lines.
LG
Rene
P.S.: If you need the complete code that fails, it's in
Maplat::Helpers::DateStrings