Bugzilla – Attachment 149108 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.10 KB, created by
David Nind
on 2023-04-03 21:08:36 UTC
(
hide
)
Description:
Bug 33261: Format dates in subscription_issues table
Filename:
MIME Type:
Creator:
David Nind
Created:
2023-04-03 21:08:36 UTC
Size:
2.10 KB
patch
obsolete
>From db38d8374e86d205cf2be177c7fdc73ab275fb0e 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 > >Signed-off-by: David Nind <david@davidnind.com> >--- > .../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