mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Prevent a loop.
This commit is contained in:
@@ -52,7 +52,7 @@ class SeparateTimezoneCaster implements CastsAttributes
|
||||
$timeZone = $attributes[sprintf('%s_tz', $key)] ?? config('app.timezone');
|
||||
|
||||
$result = Carbon::parse($value, $timeZone)->setTimezone(config('app.timezone'));
|
||||
Log::debug(sprintf('SeparateTimezoneCaster: %s.%s = %s', str_replace('FireflyIII\\Models\\','',get_class($model)), $key, $result->toAtomString()));
|
||||
// Log::debug(sprintf('SeparateTimezoneCaster: %s.%s = %s', str_replace('FireflyIII\\Models\\','',get_class($model)), $key, $result->toAtomString()));
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user