Bug 14954: (followup) Display exceptions in syspref format

This patch fixes the display of exceptions (was iso, is now syspref).
See comment #14 and attachment #15

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Marc Véron 2015-11-04 16:05:59 +01:00 committed by Tomas Cohen Arazi
parent 857fea04ae
commit 7fce331451
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ foreach my $yearMonthDay (keys %$exception_holidays) {
my %exception_holiday;
%exception_holiday = (KEY => $yearMonthDay,
DATE_SORT => $exception_holidays->{$yearMonthDay}{date},
DATE => output_pref( { dt => $exceptiondate, dateonly => 1, dateformat => 'iso' } ),
DATE => output_pref( { dt => $exceptiondate, dateonly => 1 } ),
TITLE => $exception_holidays->{$yearMonthDay}{title},
DESCRIPTION => $exception_holidays->{$yearMonthDay}{description});
push @exception_holidays, \%exception_holiday;