|
Date: 4/7/2008 1:07 pm · Subject: DateTime.pm not using locale info from Calendar.pm asset (fixed) · Rating: 1
Localization in the Calendar asset is broken, due to an error in WebGUI::DateTime.
The localization string is not used in certain cases, within the DateTime object.
I have solved the problem myself, but i am unsure how i post the patch/change.
in the new subrutine the following has been changed in the last else of the "if" construction. The bold part has been added:
else { $self = $class->SUPER::new( (_splitMysql($_[0])), time_zone => "UTC", locale=>$locale, ); }
Do i get points for this ;D
ps. i have attached the whole of the DateTime.pm file, with changes applied
edit: i have attached the patch also
Best regards Zylo
Attached Files
|