Date_SetDateField broken
Bug #575029 reported by
Helmut A. Bender
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libdate-manip-perl |
Unknown
|
Unknown
|
|||
libdate-manip-perl (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: libdate-manip-perl
Using Lucid Lynx with libdate-
If you try to set eg the day of a date with Date_SetDateFie
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','
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...
To post a comment you must log in.
Ultimate upstream appears to confirm that it is broken and will be (or has been) fixed, but doesn't point to a patch or release: /rt.cpan. org/Public/ Bug/Display. html?id= 57196
https:/