Koha-clms/Koha/Template/Plugin
Jonathan Druart 45e6a7e58f Bug 10380: Change prototype for output_pref() routine
Koha::DateUtils::output_pref took 4 parameters and the last one is a
boolean, so some calls were:
  output_pref($dt, undef, undef, 1)

This patch changes its prototype to
  output_pref({
    dt => $dt,
    dateformat => $dateformat,
    timeformat => $timeformat,
    dateonly => $boolean
  });

An alternative is to call the output_pref routine with a datetime
object, without using an hashref:

  output_pref($dt);

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-10-17 23:34:26 +00:00
..
AuthorisedValues.pm bug 8215: (followup) run new files through perltidy 2013-05-21 15:51:00 -07:00
Branches.pm bug 8215: (followup) run new files through perltidy 2013-05-21 15:51:00 -07:00
Cache.pm Follow-up Bug 7387 - Add Template::Toolkit plugin to allow caching of includes 2013-03-07 10:58:52 -05:00
ItemTypes.pm bug 8215: (followup) run new files through perltidy 2013-05-21 15:51:00 -07:00
Koha.pm Bug 10206 - Add Koha TT Plugin - Koha.Preference 2013-05-24 07:49:51 -07:00
KohaAuthorisedValues.pm Bug 4173: Followup: Document KohaAuthorisedValues plugin 2012-09-14 16:37:21 +02:00
KohaBranchName.pm Bug 10494: remove spurious warnings from the KohaBranchName plugin 2013-06-30 18:45:11 -07:00
KohaDates.pm Bug 10380: Change prototype for output_pref() routine 2013-10-17 23:34:26 +00:00