Bugzilla – Attachment 138650 Details for
Bug 30718
Use flatpickr's altInput option everywhere
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30718: Fix scheduler
Bug-30718-Fix-scheduler.patch (text/plain), 911 bytes, created by
Jonathan Druart
on 2022-08-05 07:22:49 UTC
(
hide
)
Description:
Bug 30718: Fix scheduler
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-08-05 07:22:49 UTC
Size:
911 bytes
patch
obsolete
>From d7988a81241303e9ed762b3fdc4c37dd329345be Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 18 Jul 2022 15:27:22 +0200 >Subject: [PATCH] Bug 30718: Fix scheduler > >--- > tools/scheduler.pl | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/tools/scheduler.pl b/tools/scheduler.pl >index 9f797ba34a3..ecee48e930d 100755 >--- a/tools/scheduler.pl >+++ b/tools/scheduler.pl >@@ -52,8 +52,10 @@ my $id = $input->param('id'); > > if ( $mode eq 'job_add' ) { > >- my $startdate = dt_from_string( scalar $input->param('startdate') )->ymd; >+ my $startdate = dt_from_string( scalar $input->param('startdate'), 'iso' )->ymd; > >+ # Formatting it for Schedule::At >+ $startdate = join('', (split /-/, $startdate)); > my $starttime = $input->param('starttime'); > $starttime =~ s/\://g; > my $start = $startdate . $starttime; >-- >2.25.1
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 30718
:
135487
|
137516
|
137707
|
137715
|
137803
|
137804
|
137805
|
137806
|
137807
|
137868
|
137869
|
138644
|
138645
|
138646
|
138647
|
138648
|
138649
|
138650
|
138651
|
138652
|
138658
|
138659
|
138748
|
138749
|
138750
|
138751
|
138752
|
138753
|
138754
|
138755
|
138756
|
138757
|
138758
|
138879
|
138980
|
139033
|
139073
|
139074
|
139075
|
139076
|
139077
|
139078
|
139079
|
139080
|
139081
|
139082
|
139083
|
139084
|
139085
|
139453
|
139454
|
139455
|
139456
|
139457
|
139458
|
139459
|
139460
|
139461
|
139462
|
139463
|
139464
|
139465
|
139466
|
139467
|
139468
|
139490
|
139605
|
143175