Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
22224b38
Unverified
Commit
22224b38
authored
Nov 04, 2022
by
Helmo
Browse files
Match conversion from strftime to date got php 8,
#6400
parent
20a04da2
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/lib/classes/cron.inc.php
View file @
22224b38
...
@@ -204,7 +204,7 @@ class cron {
...
@@ -204,7 +204,7 @@ class cron {
if
(
$this
->
_bParsed
==
false
)
$this
->
_calcValidValues
();
if
(
$this
->
_bParsed
==
false
)
$this
->
_calcValidValues
();
// get the field values for the given Date.
// get the field values for the given Date.
list
(
$iMinute
,
$iHour
,
$iDay
,
$iWDay
,
$iMonth
,
$iYear
)
=
explode
(
':'
,
ISPConfigDateTime
::
to_string
(
$vDate
,
'custom:
%M:%H:%d:%w:%m:%
Y'
));
list
(
$iMinute
,
$iHour
,
$iDay
,
$iWDay
,
$iMonth
,
$iYear
)
=
explode
(
':'
,
ISPConfigDateTime
::
to_string
(
$vDate
,
'custom:
i:G:j:w:n:
Y'
));
$bValid
=
false
;
$bValid
=
false
;
$iStartYear
=
$iYear
;
$iStartYear
=
$iYear
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment