Bugzilla – Attachment 11727 Details for
Bug 8663
Circulation rules hard due date calendar wrong format
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix
0001-FixFormatCalendarHardDueDateCircRules.patch (text/plain), 2.06 KB, created by
Maxime Pelletier
on 2012-08-21 19:45:16 UTC
(
hide
)
Description:
patch to fix
Filename:
MIME Type:
Creator:
Maxime Pelletier
Created:
2012-08-21 19:45:16 UTC
Size:
2.06 KB
patch
obsolete
>From 2305b5138ce5661ffa62a4c10021b69aba854875 Mon Sep 17 00:00:00 2001 >From: Maxime Pelletier <maxime.pelletier@libeo.com> >Date: Wed, 30 May 2012 13:49:34 -0400 >Subject: [PATCH] Bug 8663 Fix the use of hardcoded date format for the calendar widget of hard due date >Sponsored by the CCSR >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >--- > admin/smart-rules.pl | 3 ++- > .../prog/en/modules/admin/smart-rules.tt | 2 +- > 2 files changed, 3 insertions(+), 2 deletions(-) > >diff --git a/admin/smart-rules.pl b/admin/smart-rules.pl >index f290934..9b9a9d7 100755 >--- a/admin/smart-rules.pl >+++ b/admin/smart-rules.pl >@@ -494,7 +494,8 @@ $template->param(categoryloop => \@category_loop, > branchloop => \@branchloop, > humanbranch => ($branch ne '*' ? $branches->{$branch}->{branchname} : ''), > current_branch => $branch, >- definedbranch => scalar(@sorted_row_loop)>0 >+ definedbranch => scalar(@sorted_row_loop)>0, >+ DHTMLcalendar_dateformat => C4::Dates->DHTMLcalendar() > ); > output_html_with_http_headers $input, $cookie, $template->output; > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt >index d2f314f..a546448 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt >@@ -162,7 +162,7 @@ for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde > Calendar.setup( > { > inputField : "hardduedate", >- ifFormat : "%m/%d/%Y", >+ ifFormat : "[% DHTMLcalendar_dateformat %]", > button : "CalendarDueDate", > onClose: refocus > } >-- >1.7.2.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 8663
:
11727
|
11728