laraning / nova-time-field

Laravel Nova Time Field
https://www.laraning.com
MIT License
64 stars 26 forks source link

Remove leading 0 when displaying withTwelveHourTime() #46

Closed drewroberts closed 3 years ago

drewroberts commented 4 years ago

I'm using this code to display the time in a Nova index:

TimeField::make('Time')->withTwelveHourTime(),

It displays a leading 0 and it would be helpful to have that removed. Here is a screenshot:

Screen Shot 2020-10-21 at 10 21 50 AM
laraning commented 3 years ago

corrected, thanks. Will be released in the next version