Bugzilla – Attachment 27109 Details for
Bug 12072
New dateformat dd.mm.yyyy
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12072 - Follow up to fix koha-qa errors
Bug-12072---Follow-up-to-fix-koha-qa-errors.patch (text/plain), 1.83 KB, created by
Bernardo Gonzalez Kriegel
on 2014-04-14 22:20:27 UTC
(
hide
)
Description:
Bug 12072 - Follow up to fix koha-qa errors
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2014-04-14 22:20:27 UTC
Size:
1.83 KB
patch
obsolete
>From 9b0951e845461ac39e69c0995409cf3ef81b93fb Mon Sep 17 00:00:00 2001 >From: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Date: Mon, 14 Apr 2014 19:14:29 -0300 >Subject: [PATCH] Bug 12072 - Follow up to fix koha-qa errors > >Removed one tab, and two unnecessary 'my' >--- > C4/Dates.pm | 2 +- > tools/exceptionHolidays.pl | 2 +- > tools/newHolidays.pl | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/C4/Dates.pm b/C4/Dates.pm >index d536079..f4b7ef3 100644 >--- a/C4/Dates.pm >+++ b/C4/Dates.pm >@@ -47,7 +47,7 @@ sub _prefformat { > > sub reset_prefformat { # subroutine to clear the prefformat, called when we change it > if (defined $prefformat){ >- $prefformat = C4::Context->preference('dateformat') || 'us'; >+ $prefformat = C4::Context->preference('dateformat') || 'us'; > } > } > >diff --git a/tools/exceptionHolidays.pl b/tools/exceptionHolidays.pl >index eb1affb..a60d9de 100755 >--- a/tools/exceptionHolidays.pl >+++ b/tools/exceptionHolidays.pl >@@ -41,7 +41,7 @@ if ($description) { > } > > >-my $datecancelrange = C4::Dates->new($datecancelrange)->output('iso'); >+$datecancelrange = C4::Dates->new($datecancelrange)->output('iso'); > my @dateend = split(/[\/-]/, $datecancelrange); > $year1 = $dateend[0]; > $month1 = $dateend[1]; >diff --git a/tools/newHolidays.pl b/tools/newHolidays.pl >index 996b832..76a108e 100755 >--- a/tools/newHolidays.pl >+++ b/tools/newHolidays.pl >@@ -34,7 +34,7 @@ my $calendardate = sprintf("%04d-%02d-%02d", $year, $month, $day); > my $isodate = C4::Dates->new($calendardate, 'iso'); > $calendardate = $isodate->output('syspref'); > >-my $dateofrange = C4::Dates->new($dateofrange)->output('iso'); >+$dateofrange = C4::Dates->new($dateofrange)->output('iso'); > my @dateend = split(/[\/-]/, $dateofrange); > $year1 = $dateend[0]; > $month1 = $dateend[1]; >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12072
:
27068
|
27069
|
27082
|
27107
|
27108
|
27109
|
27118
|
27130
|
36726
|
36761
|
43317
|
43318
|
44463
|
44606
|
44747
|
44964
|
44966
|
44980
|
45020
|
45022