[Koha-bugs] [Bug 4402] Date filter in parcels.tt requires db format dates

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 12 09:54:20 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4402

--- Comment #15 from Jonathan Druart <jonathan.druart at biblibre.com> ---
(In reply to Katrin Fischer from comment #11)
> I am still not sure how to reformat a date formatted to our dateformat pref
> and convert to iso format :(

my $dt = dt_from_string # Generate a DT for today (no date passed)
my $date_string_pref = output_pref( $dt ); # Generate the date string for the
given DT, depending on the syspref.
my $date_string_iso = output_pref( $dt, 'iso' ); # Generate the date string for
the given DT formatted to iso format.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list