[Koha-devel] C4 and date formats

Ryan Higgins ryan.higgins at liblime.com
Sat Dec 15 21:12:42 CET 2007


Hey folks

Just looking for a quick consensus on passing dates to
C4 modules.  Some expect iso, some expect local format.

memberentry.pl is currently not working because the
date is double iso'ed...

I suggest the coding guideline that scripts maintain the date in local
syspref-defined
format, and that  all public methods in C4::* should expect
dates to be passed in local format.  So format_date_in_iso
should be rare at the script level.

comments ?

-- 
Ryan Higgins

LibLime  *  Open-Source Solutions for Libraries
Featuring KohaZOOM ILS
888-564-2457  x704





More information about the Koha-devel mailing list