jilo-web/app/helpers/time_range.php

16 lines
336 B
PHP
Raw Normal View History

2024-08-11 10:13:59 +00:00
<?php
$time_range_specified = false;
2024-10-04 08:36:45 +00:00
if (!isset($from_time) || (isset($from_time) && $from_time == '')) {
2024-08-11 10:13:59 +00:00
$from_time = '0000-01-01';
} else {
$time_range_specified = true;
}
2024-10-04 08:36:45 +00:00
if (!isset($until_time) || (isset($until_time) && $until_time == '')) {
2024-08-11 10:13:59 +00:00
$until_time = '9999-12-31';
} else {
$time_range_specified = true;
}
?>