techouse / intl-date-time

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

Fix error of not being able to set 0 defaultHour and defaultMinute #54

Closed kyryl-bogach closed 2 years ago

kyryl-bogach commented 2 years ago

This commit fixes a bug that does not allow use defaultHour(0) because 0 is considered as false and what we really want is to check if the field is empty. Therefore, null safe operator is used.

README updated

techouse commented 2 years ago

Merged and released as v1.6.7.