1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 22:57:14 +02:00

strftime() added to php_compatibility_handler.php and all references updated. README updated. dateAlternativeTest updated to pass on Windows. (TBD)

This commit is contained in:
Cameron
2021-11-25 08:51:32 -08:00
parent 904cea1af4
commit 4aa66c1732
17 changed files with 77 additions and 75 deletions

View File

@@ -391,7 +391,7 @@ class CronParser
function getLastRan()
{
return explode(",", e_date::strftime("%M,%H,%d,%m,%w,%Y", $this->lastRan)); //Get the values for now in a format we can use
return explode(",", strftime("%M,%H,%d,%m,%w,%Y", $this->lastRan)); //Get the values for now in a format we can use
}
function getLastRanUnix()
@@ -505,7 +505,7 @@ class CronParser
}
//put the current time into an array
$t = e_date::strftime("%M,%H,%d,%m,%w,%Y", time());
$t = strftime("%M,%H,%d,%m,%w,%Y", time());
$this->now = explode(",", $t);
$this->year = $this->now[5];