Public bug reported:
Binary package hint: libdate-manip-perl
Using Lucid Lynx with libdate-manip-perl-6.05
If you try to set eg the day of a date with Date_SetDateField($date,
'd', $day) the hour is set instead.
It seems in Date::Manip::Date line 2265 the %tmp is set incorrectly; the
indices seem to be wrong. I don't know if there were a week field in
former times, but there seem to be none at the moment.
[code]
when (['y','m','d','h','mn','s']) {
my %tmp = qw(y 0 m 1 w 2 d 3 h 4 mn 5 s 6);
[/code]
'w 2' is not used any more... but there is no docu about the right
indices...
** Affects: libdate-manip-perl (Ubuntu)
Importance: Undecided
Status: New
--
Date_SetDateField broken
https://bugs.launchpad.net/bugs/575029
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs