https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33132
Marcel de Rooy <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Status|Signed Off |Passed QA --- Comment #6 from Marcel de Rooy <[email protected]> --- Applies to 22.05.x. Not tested. koha-tmpl/intranet-tmpl/prog/en/includes/js-date-format.inc: window.$date_to_rfc3339 = function(value, options) { koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc: let d = $date_to_rfc3339(pattern); window.$date_to_rfc3339 = function(value, options) { var dateformat = (options&&options.dateformat)||def_date_format; let m = moment(value, get_date_pattern(dateformat)); return m.format("YYYY-MM-DD"); } Just some observations, not blocking: Why do you have options if you do not use them? Why do you call get_date_pattern if you format YMD later on? Looks good to me for the rest. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
