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

--- Comment #15 from Jonathan Druart <[email protected]> ---
(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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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