add test batches

This commit is contained in:
root
2026-06-08 23:45:55 -04:00
parent c792b8be05
commit 8d4d610b82
1480 changed files with 22587 additions and 10762 deletions
+3 -3
View File
@@ -50,7 +50,7 @@ class TimeService
public function toUtc($value, ?string $fromTz = null, string $format = 'Y-m-d H:i:s'): ?string
{
$dt = $this->parse($value, $fromTz);
if (! $dt) {
if (!$dt) {
return null;
}
@@ -60,7 +60,7 @@ class TimeService
public function toLocal($value, ?string $sourceTz = null, ?string $targetTz = null, string $format = 'Y-m-d H:i:s'): ?string
{
$dt = $this->parse($value, $sourceTz);
if (! $dt) {
if (!$dt) {
return null;
}
@@ -70,7 +70,7 @@ class TimeService
public function formatLocal($value, string $format = 'Y-m-d', ?string $sourceTz = null): string
{
$dt = $this->parse($value, $sourceTz);
if (! $dt) {
if (!$dt) {
return '';
}