[Koha-devel] question/problem with date

Galen Charlton galen.charlton at liblime.com
Wed Apr 2 17:26:37 CEST 2008


Hi,

On Wed, Apr 2, 2008 at 10:20 AM, Joshua Ferraro <jmf at liblime.com> wrote:
> On Wed, Apr 2, 2008 at 9:54 AM, Galen Charlton
>  >  Doing this would require going through a lot of code that uses
>  >  format_date(), of course.  Also, I think we should remove usage of
>  >  "0000-00-00" to signify a unset date; this should be NULL in database
>  >  columns and undef in code.
>  I thought we had already removed all use of 0000-00-00, several months
>  ago. Paul, where are you seeing those kinds of non-date data?

A quick grep shows that some code, mostly acquisitions and a little
circ, still checks for 0000-00-00.  Sometimes this is in conjunction
with a test for NULL, other times not.

Regards,

Galen
-- 
Galen Charlton
Koha Application Developer
LibLime
galen.charlton at liblime.com
p: 1-888-564-2457 x709



More information about the Koha-devel mailing list