Bugzilla – Attachment 154057 Details for
Bug 34292
Date formatting in checkouts list broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34292: (bug 33804 follow-up) Format "checked out on" date
Bug-34292-bug-33804-follow-up-Format-checked-out-o.patch (text/plain), 1.68 KB, created by
Katrin Fischer
on 2023-07-29 18:14:48 UTC
(
hide
)
Description:
Bug 34292: (bug 33804 follow-up) Format "checked out on" date
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-07-29 18:14:48 UTC
Size:
1.68 KB
patch
obsolete
>From 8c25e398b934e6a851b2f32fd9c141076cde6232 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 17 Jul 2023 10:35:22 +0200 >Subject: [PATCH] Bug 34292: (bug 33804 follow-up) Format "checked out on" date > >Signed-off-by: Andreas Roussos <a.roussos@dataly.gr> >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >index 4920eccb9d..9836a960d0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >@@ -426,7 +426,9 @@ $(document).ready(function() { > }, > { > "iDataSort": 10, // Sort on hidden unformatted issuedate column >- "mDataProp": "issuedate", >+ "mDataProp": function( oObj ) { >+ return $datetime(oObj.issuedate, { no_tz_adjust: true }); >+ } > }, > { > "mDataProp": function ( oObj ) { >@@ -823,7 +825,9 @@ $(document).ready(function() { > }, > { > "iDataSort": 7, // Sort on hidden unformatted issuedate column >- "mDataProp": "issuedate", >+ "mDataProp": function ( oObj ) { >+ return $datetime(oObj.issuedate, { no_tz_adjust: true }); >+ } > }, > { > "mDataProp": function ( oObj ) { >-- >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 34292
:
153523
|
153524
|
153526
|
153559
|
154057
|
154058