feature/cierres #30

Merged
aldarien merged 460 commits from feature/cierres into develop 2025-09-11 15:16:17 -03:00
157 changed files with 492 additions and 5828 deletions
Showing only changes of commit a687743762 - Show all commits

View File

@ -18,9 +18,13 @@ class UF
public function get(?DateTimeInterface $date = null): float
{
$today = new DateTimeImmutable();
if ($date === null) {
$date = new DateTimeImmutable();
}
if ($date->diff($today)->days < 0) {
return 0.0;
}
/**
* 1 - Redis
* 2 - DB