All lowercase name of month not properly handled
Brought to you by:
wagnerch
The problem was in the date/time conversion. For one reason or
another the month in my messages file was written in all
lowercase. I solved this by changing the following lines:
my(%monnum) = (
'JAN' => 0,
'FEB' => 1,
'MAR' => 2,
'APR' => 3,
'MAY' => 4,
'JUN' => 5,
'JUL' => 6,
'AUG' => 7,
'SEP' => 8,
'OCT' => 9,
'NOV' => 10,
'DEC' => 11
);
and
$time_t = POSIX::mktime(,,,,$monnum{uc()},
$year,0,0,$isdst);
The month names are made all uppercase and is changed in
uc().