while implementing my custom shipping thingy an error occurs in the sub date_to_epoch.
The errorlog tells me:
custom-shipping-logic Month '-1' out of range 0..11 at ./library/agora_order_lib.pl line 1115 etc.
Line 1115 refers to the line
return timelocal(59,59,23,$mredDate[1],$mredDate[0]-1,$mredDate[2]) in the sub date_to_epoch.
It looks like $mredDate[0] = zero or empty.... What could possibly cause that?
Thanks for you help in advance
Klaas