[Koha] Validating date

José Miguel Parrella Romero joseparrella at gmail.com
Sun Aug 19 13:06:25 NZST 2007


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


More information about the Koha mailing list