Skip to content

Commit 22224b3

Browse files
committed
Match conversion from strftime to date got php 8, #6400
1 parent 20a04da commit 22224b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/lib/classes/cron.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ public function getNextRun($vDate) {
204204
if($this->_bParsed == false) $this->_calcValidValues();
205205

206206
// get the field values for the given Date.
207-
list($iMinute, $iHour, $iDay, $iWDay, $iMonth, $iYear) = explode(':', ISPConfigDateTime::to_string($vDate, 'custom:%M:%H:%d:%w:%m:%Y'));
207+
list($iMinute, $iHour, $iDay, $iWDay, $iMonth, $iYear) = explode(':', ISPConfigDateTime::to_string($vDate, 'custom:i:G:j:w:n:Y'));
208208

209209
$bValid = false;
210210
$iStartYear = $iYear;

0 commit comments

Comments
 (0)