Bugzilla – Attachment 165310 Details for
Bug 33703
Entering dates should be more flexible accepting different entry formats
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33703: Add Maskito to dateaccessioned.pl
Bug-33703-Add-Maskito-to-dateaccessionedpl.patch (text/plain), 1.16 KB, created by
Lucas Gass (lukeg)
on 2024-04-22 14:24:03 UTC
(
hide
)
Description:
Bug 33703: Add Maskito to dateaccessioned.pl
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2024-04-22 14:24:03 UTC
Size:
1.16 KB
patch
obsolete
>From 735c27e6c42f279b74ed47860256e3dd962c40e8 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Mon, 4 Mar 2024 18:19:30 +0000 >Subject: [PATCH] Bug 33703: Add Maskito to dateaccessioned.pl > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > cataloguing/value_builder/dateaccessioned.pl | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/cataloguing/value_builder/dateaccessioned.pl b/cataloguing/value_builder/dateaccessioned.pl >index c4f7746b7f..f9a7bd8758 100755 >--- a/cataloguing/value_builder/dateaccessioned.pl >+++ b/cataloguing/value_builder/dateaccessioned.pl >@@ -42,9 +42,14 @@ my $builder = sub { > \$(document).ready(function(){ > \$("#$function_name").flatpickr({ > onOpen: function(selectedDates, dateStr, instance) { >+ let options = maskitoDateOptionsGenerator({ >+ mode: altinput_dateformat, >+ separator: delimiter, >+ }); > if (dateStr == '') { > instance.setDate(new Date()); > } >+ new Maskito( instance.altInput, options ); > } > }); > }); >-- >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 33703
:
150894
|
150895
|
155719
|
155720
|
155861
|
155862
|
156411
|
156412
|
156413
|
157132
|
157135
|
157206
|
157746
|
161619
|
161663
|
162722
|
162723
|
162724
|
162725
|
162726
|
162727
|
162728
|
162729
|
162730
|
162731
|
163078
|
163079
|
163080
|
163081
|
163082
|
163083
|
163319
|
163320
|
163321
|
163322
|
163323
|
163324
|
163978
|
163979
|
163980
|
163981
|
163982
|
163983
|
165307
|
165308
|
165309
| 165310 |
165311
|
165312
|
165399