Better way to manage default formats?
Hi All,
I use filament with different locals.
Some default dateformats are defined in following classes
At this moment i'm changing the formats of these configurations in AppServiceProvider (Code below)
Now i want to know if there is a better way to manage these settings, this because when filament updates some additional $defaults can be added that are not in my AppServiceProvider
Url to code : https://gist.github.com/sitenzo/a29807e72d38310a5a04f18e3d99f0dd
Solution:Jump to solution
because when filament updates some additional $defaults can be added that are not in my AppServiceProviderThat's why I never run
composer update
without first inspecting the code that's been changed since the last release I updated to.
Then you can make whatever applicable changes are needed to your own app....2 Replies
Solution
because when filament updates some additional $defaults can be added that are not in my AppServiceProviderThat's why I never run
composer update
without first inspecting the code that's been changed since the last release I updated to.
Then you can make whatever applicable changes are needed to your own app.(Easiest way to inspect it is in github's Releases page, and click the Compare dropdown, pick the version, and then review all the code changes.)
(You learn a lot about Fillament's inner workings that way too!)