add updates
This commit is contained in:
@@ -153,9 +153,7 @@ class NovaServiceProvider extends NovaApplicationServiceProvider
|
||||
*/
|
||||
public function setupFieldMacros(): void
|
||||
{
|
||||
// @phpstan-ignore-next-line
|
||||
Date::macro('toTurkmenFormat', fn () => $this->displayUsing(fn ($value) => $value?->format('d.m.Y')));
|
||||
// @phpstan-ignore-next-line
|
||||
DateTime::macro('turkmenDateTime', fn () => $this->displayUsing(fn ($value) => $value?->format('H:i, d.m.Y')));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user