[Koha-bugs] [Bug 14382] datepicker's dateFormat setting for reports is missing
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jun 26 18:59:09 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14382
--- Comment #15 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 40611
--> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40611
Bug 14382: Non-ISO Date parameters generate empty reports.
Review of attachment 40611:
--> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=14382&attachment=40611)
-----------------------------------------------------------------
::: reports/guided_reports.pl
@@ +755,4 @@
> # if there are special regexp chars, we must \ them
> $split[$i*2+1] =~ s/(\||\?|\.|\*|\(|\)|\%)/\\$1/g;
> + if ($split[$i*2+1] =~ /|date>>/) {
> + $quoted = substr(dt_from_string($quoted),0,10);
I blame Amit Gupta for showing me this mistake.
output_pref({ dt => (dt_from_string() + $days), dateformat => 'iso', dateonly
=> 1 });
I should have used output_pref!
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list