convert from strftime to date

pull/3494/head
Isaac Connor 2022-06-01 16:18:04 -04:00
parent 038e38eb13
commit cde59e9f79
1 changed files with 2 additions and 2 deletions

View File

@ -167,8 +167,8 @@ if ( isset($_SESSION['archive_status']) ) {
if ( !isset($_REQUEST['minTime']) && !isset($_REQUEST['maxTime']) ) {
$time = time();
$maxTime = strftime('%FT%T',$time);
$minTime = strftime('%FT%T',$time - 3600);
$maxTime = date('c', $time);
$minTime = date('c', $time - 3600);
}
if ( isset($_REQUEST['minTime']) )
$minTime = validHtmlStr($_REQUEST['minTime']);