nemrutco / nova-global-filter

This package allows you to apply any of your existing Laravel Nova filters to your cards in Dashboards or Index and Detail view of your nova resources.
MIT License
39 stars 32 forks source link

DateFilter #24

Closed CosmicodeStudio closed 3 years ago

CosmicodeStudio commented 3 years ago

I'm having some issues with this package, first the default in my DateFilter is not showing, while is showing if I add that to a resource. Second when I select a date is always showing the time as well, always 00:00:00, while inside the resource it only shows the date without the time.

MuzafferDede commented 3 years ago

I think you are parsing the date via $value = Carbon::parse($value); which will also include time... This package will only give you Y-m-d formatted date. Let me know if you still have issue on this.