[Bug 4144] New: CheckDate() does not pay attention to date format
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4144 Summary: CheckDate() does not pay attention to date format Product: Koha Version: HEAD Platform: PC URL: koha-tmpl/intranet-tmpl/prog/en/js/acq.js OS/Version: All Status: NEW Severity: normal Priority: P5 Component: Acquisitions AssignedTo: henridamien@koha-fr.org ReportedBy: gmcharlt@gmail.com Blocks: 3912 Estimated Hours: 0.0 Change sponsored?: --- The CheckDate() function in koha-tmpl/intranet-tmpl/prog/en/js/acq.js expects dates to be in DD/MM/YYYY, thereby ignoring the dateformat preference. This breaks date validation in, e.g., aqcontract.tmpl for any dateformat other than DD/MM/YYYY. A better date validation routine is needed. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4144 --- Comment #1 from Galen Charlton <gmcharlt@gmail.com> 2010-02-09 13:45:32 --- CheckDate() in acq.js appears to be a copy-and-paste from koha-tmpl/intranet-tmpl/prog/en/js/members.js -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4144 Galen Charlton <gmcharlt@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|henridamien@koha-fr.org |gmcharlt@gmail.com -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4144 Galen Charlton <gmcharlt@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4144 --- Comment #2 from Galen Charlton <gmcharlt@gmail.com> 2010-02-10 13:39:17 --- Submitted patch to replace the date validation routines in acq.js. CheckDate in circ.js should either be removed or rewritten so that it uses Date_from_syspref as well. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4144 --- Comment #3 from Galen Charlton <gmcharlt@gmail.com> 2010-02-10 13:43:13 --- Pushed acq.js patch. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla-daemon@kohaorg.ec2.liblime.com