Bugzilla – Attachment 145000 Details for
Bug 30310
Replace Moment.js with Day.js
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30310: Replace one more occurrence to moment
Bug-30310-Replace-one-more-occurrence-to-moment.patch (text/plain), 1.06 KB, created by
Martin Renvoize (ashimema)
on 2023-01-04 12:08:03 UTC
(
hide
)
Description:
Bug 30310: Replace one more occurrence to moment
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-01-04 12:08:03 UTC
Size:
1.06 KB
patch
obsolete
>From 63bda77619121d8a3bd5e69f7a7ca9ac1132e630 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 3 Jan 2023 17:55:02 +0100 >Subject: [PATCH] Bug 30310: Replace one more occurrence to moment > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/js-date-format.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/js-date-format.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/js-date-format.inc >index f8bff29d8f6..84d2738004e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/js-date-format.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/js-date-format.inc >@@ -77,7 +77,7 @@ > > window.$date_to_rfc3339 = function(value, options) { > var dateformat = (options&&options.dateformat)||def_date_format; >- let m = moment(value, get_date_pattern(dateformat)); >+ let m = dayjs(value, get_date_pattern(dateformat)); > return m.format("YYYY-MM-DD"); > } > >-- >2.39.0
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 30310
:
135495
|
135496
|
135497
|
135498
|
135499
|
136507
|
136508
|
136509
|
136510
|
136511
|
137676
|
137677
|
137678
|
137679
|
141859
|
141860
|
141861
|
141862
|
143172
|
143173
|
144948
|
144950
|
144995
|
144996
|
144997
|
144998
|
144999
|
145000
|
145001
|
145097
|
145098
|
145099
|
145100
|
145101
|
145102
|
145103
|
145104