add metrics

This commit is contained in:
2023-12-04 18:39:50 +05:00
parent 6c0afca80a
commit af512688bc
11 changed files with 185 additions and 11 deletions

View File

@@ -183,8 +183,6 @@ class NovaServiceProvider extends NovaApplicationServiceProvider
*/
public function setupFieldMacros(): void
{
Date::macro('toTurkmenFormat', function () {
return $this->displayUsing(fn ($value) => $value?->format('d.m.Y'));
});
Date::macro('toTurkmenFormat', fn () => $this->displayUsing(fn ($value) => $value?->format('d.m.Y')));
}
}