https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30718

--- Comment #91 from Marcel de Rooy <[email protected]> ---
(In reply to Victor Grousset/tuxayo from comment #85)
> Created attachment 139085 [details] [review]
> Bug 30718: Fix serial claims filters
> 
> https://bugs.koha-community.org/show_bug.cgi?id=30718
> Signed-off-by: Victor Grousset/tuxayo <[email protected]>

This patch does:
-            var beginDate = Date_from_syspref($("#from").val()).getTime();
-            var endDate   = Date_from_syspref($("#to").val()).getTime();
+            var beginDate = new Date($("#from").val()).getTime();
+            var endDate   = new Date($("#to").val()).getTime();

Still seeing in its context:
                // We make a JS Date Object, according to the locale
                var pdate = Date_from_syspref($(this).text()).getTime();

And it seems the only real remains of this function.
So it probably should be changed too. Not tested however.
While finishing up, leaving it here as TODO.

-- 
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/

Reply via email to