Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

time-field: no seconds, no switch for 24h format #291

Open
ghost opened this issue Sep 16, 2021 · 1 comment
Open

time-field: no seconds, no switch for 24h format #291

ghost opened this issue Sep 16, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Sep 16, 2021

For component TimeField even when parameter
showSeconds=true
only hour and minute are shown/changeable.

Fix could be in fields/time-field.js
<TimePicker
...
ampm=.....
views={ showSeconds?['hours','minutes','seconds']:['hours','minutes'] }
...
/>

To get a fixed 24h display an additional parameter for ampm is required?

Similar issue for DateField when includeTime=true

@redgeoff redgeoff added the bug Something isn't working label Sep 17, 2021
@redgeoff
Copy link
Owner

On the surface this seems like a bug or a missing feature. Let me find some time to take a look...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant