Re: [Koha-devel] question/problem with date

2008-04-02 Thread Joe Atzberger
Paul -- if the incoming date is -00-00, then the result is : 02/00/0, which is > not really a date. > -00-00 is not really a date either, and certainly not ISO. Currently the module notices, warns, but stops short of returning undef. (My earlier versions were more strict about input.)

Re: [Koha-devel] question/problem with date

2008-04-02 Thread Galen Charlton
Hi, On Wed, Apr 2, 2008 at 10:20 AM, Joshua Ferraro <[EMAIL PROTECTED]> 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 > > "-00-00" to signif

Re: [Koha-devel] question/problem with date

2008-04-02 Thread Joshua Ferraro
On Wed, Apr 2, 2008 at 9:54 AM, Galen Charlton <[EMAIL PROTECTED]> wrote: > Hi, > > > On Wed, Apr 2, 2008 at 5:30 AM, Paul POULAIN <[EMAIL PROTECTED]> wrote: > > It seems that the C4::Dates::format_date function, has a small problem : > > if the incoming date is -00-00, then the result is

Re: [Koha-devel] question/problem with date

2008-04-02 Thread Galen Charlton
Hi, On Wed, Apr 2, 2008 at 5:30 AM, Paul POULAIN <[EMAIL PROTECTED]> wrote: > It seems that the C4::Dates::format_date function, has a small problem : > if the incoming date is -00-00, then the result is : 02/00/0, which > is not really a date. > I think we should get a '' (nothing) in th