Feature: exports for aside activities

This commit is contained in:
2023-02-08 14:28:21 +00:00
committed by Julien Fastré
parent b0ab591cbd
commit 5e58d36e79
17 changed files with 962 additions and 74 deletions

View File

@@ -35,6 +35,10 @@ class DateTimeHelper
return '';
}
if ($value instanceof \DateTimeInterface) {
return $value;
}
// warning: won't work with DateTimeImmutable as we reset time a few lines later
$date = DateTime::createFromFormat('Y-m-d', $value);
$hasTime = false;