Hey, I have a problem with the koha system not validating the date entered, even though the format is set in the system preferences. In some instances, the faulty data is accepted and in others, such as budget, the date may not be shown. Would I need to change some script to give some error notification and which script? Any other thoughts on how to validate would be helpful. Thanks Noel Image by FlamingText.com --------------------------------- Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
Noel Goodman wrote:
I have a problem with the koha system not validating the date entered, even though the format is set in the system preferences. In some instances, the faulty data is accepted and in others, such as budget, the date may not be shown.
Are you sure the Date::Manip module is working correctly? You should check your error log (which, in a default *NIX installation of Koha resides in /usr/local/koha/logs/koha_error.log) for messages regarding timezone configuration. Some 'standard' timezone definitions (such as 'America/Caracas' for the UTC-0400, no DST, timezone legally valid in Caracas, Venezuela) are not recognized by the module, and you'll need to work around it (for example, using 'BOT' for the La Paz, Bolivia timezone which _is_ recognized by Date::Manip) Anyway, the first place where Koha errors are puked is in the error logs, so you should check them anyway. HTH, Jose
participants (2)
-
José Miguel Parrella Romero -
Noel Goodman