[Koha-bugs] [Bug 1294] Date.pm and Circulation/Date.pm return english strings if date format not specified in preferences

bugzilla-daemon at daddy.katipo.co.nz bugzilla-daemon at daddy.katipo.co.nz
Mon Apr 30 11:28:45 CEST 2007


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=1294


paul.poulain at free.fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|paul.poulain at free.fr        |jmf at kados.org
           Severity|major                       |normal




------- Comment #1 from paul.poulain at free.fr  2007-04-30 21:28 -------
looking at Date.pm...

sub Format_date checks for dateformat, and if it does not exist, it returns an
error. That's what was expected.

BUT : I see, line 103 :
      $dateformat="metric" if (index(":",$olddate)>0);

which many mean dateformat is automatically changed to "metric" (is it what you
call "english" ?) if : are in the date.
Could you comment this line & see if the bug disappear.

Note That I've lowered severity, as it's not that nasty.




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.





More information about the Koha-bugs mailing list