Bugzilla – Attachment 139079 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), 967 bytes, created by
Victor Grousset/tuxayo
on 2022-08-12 21:21:19 UTC
(
hide
)
Description:
Bug 30718: Fix scheduler
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2022-08-12 21:21:19 UTC
Size:
967 bytes
patch
obsolete
>From 58f11d6e1536b99594110130664fab636bc58504 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 > >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> >--- > tools/scheduler.pl | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/tools/scheduler.pl b/tools/scheduler.pl >index 9f797ba34a..ecee48e930 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.37.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