techouse / intl-date-time

International DateTime for Laravel Nova
MIT License
57 stars 21 forks source link

Can't display Just thetime #27

Closed henryavila closed 4 years ago

henryavila commented 4 years ago

HI. If I use:

IntlDateTime::make('Hora', 'time')
                    ->hideUserTimeZone()
                    ->withTimeShort()

Or even:

IntlDateTime::make('Hora', 'time')
                    ->timeFormat('HH:mm:ss')
                    ->withTimeShort()

It always select a date and the time. It should allow to select just the time.

techouse commented 4 years ago

Hi and no. This is a date/time picker and even the methods you explicitly use have with in their name not only. I do not intend to develop just a time picker. There are many out there and time is not one of these things that need internationalisation since everyone pretty much uses the same format and annotation.

I updated the README to make this clearer.