Bugzilla – Attachment 62462 Details for
Bug 17964
TT syntax for notices - Prove that CHECKIN and CHECKOUT are compatible
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17964: Support date formatting
Bug-17964-Support-date-formatting.patch (text/plain), 1.01 KB, created by
Marcel de Rooy
on 2017-04-20 11:28:50 UTC
(
hide
)
Description:
Bug 17964: Support date formatting
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-04-20 11:28:50 UTC
Size:
1.01 KB
patch
obsolete
>From db3e1a0842f695d4eefe9905c6fde7978880951c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Sat, 21 Jan 2017 16:02:50 +0100 >Subject: [PATCH] Bug 17964: Support date formatting >Content-Type: text/plain; charset=utf-8 > >Using the KohaDates plugin will allow us to format dates as we want, >using the same filters as the ones defined in the KohaDates TT plugin. > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > C4/Letters.pm | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/C4/Letters.pm b/C4/Letters.pm >index 749ce78..f515fa0 100644 >--- a/C4/Letters.pm >+++ b/C4/Letters.pm >@@ -1460,6 +1460,8 @@ sub _process_tt { > > my $tt_params = { %{ _get_tt_params( $tables ) }, %{ _get_tt_params( $loops, 'is_a_loop' ) } }; > >+ $content = qq|[% USE KohaDates %]$content|; >+ > my $output; > $template->process( \$content, $tt_params, \$output ) || croak "ERROR PROCESSING TEMPLATE: " . $template->error(); > >-- >2.1.4
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 17964
:
59436
|
59437
|
59438
|
59540
|
59541
|
59542
|
60403
|
60404
|
60405
|
61595
|
61627
|
62460
|
62461
| 62462 |
62463
|
62464