Bugzilla – Attachment 148352 Details for
Bug 33261
Dates for issues on subscription detail page display unformatted
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33261: Format dates in subscription_issues table
Bug-33261-Format-dates-in-subscriptionissues-table.patch (text/plain), 2.06 KB, created by
Lucas Gass (lukeg)
on 2023-03-17 14:35:24 UTC
(
hide
)
Description:
Bug 33261: Format dates in subscription_issues table
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2023-03-17 14:35:24 UTC
Size:
2.06 KB
patch
obsolete
>From b6997f60508bf90e529a95d1bad56375b1343325 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 17 Mar 2023 14:30:37 +0000 >Subject: [PATCH] Bug 33261: Format dates in subscription_issues table > >To test: >* Add a subscription >* Receive some issues >* Go to the subscription detail page, issues tab >* Verify the dates there display as YYYY-MM-DD >* Change DateFormat system preference setting, nothing changes. >* Apply patch >* Date should now be formatted in the way specified in the DateFormat system preference >--- > .../prog/en/modules/serials/subscription-detail.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt >index 8fac9a8cfc..d093249b0d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt >@@ -272,14 +272,14 @@ > </td> > <td> > [% IF serialslis.planneddate %] >- [% serialslis.planneddate | html %] >+ [% serialslis.planneddate | $KohaDates %] > [% ELSE %] > <span>Unknown</span> > [% END %] > </td> > <td> > [% IF serialslis.publisheddate %] >- [% serialslis.publisheddate | html %] >+ [% serialslis.publisheddate | $KohaDates %] > [% ELSE %] > <span>Unknown</span> > [% END %] >-- >2.30.2
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 33261
:
148352
|
149108
|
149356