decap-cms
decap-cms copied to clipboard
Trying to hide time-picker from datetime-widget with "time_format: false" does not work.
Describe the bug I have a field where I don't care about time, only date, and would like to hide the time picker in the widget for the users. As per the documentation I have tried setting time_format: false, but this does not seem to work.
To Reproduce
- Config a field using the datetime widget.
- Set time_format: false
- No apparent effect?
Expected behavior
- Time-picker should be hidden?
Screenshots
Applicable Versions:
- Decap CMS version: 3.0.0
- Git provider: GitHub
- OS: Windows, Linux, MacOS
- Browser version: Chrome, 121, Firefox 122.0
CMS configuration
https://raw.githubusercontent.com/Trondheim-Sykkelkjokken/website/main/static/admin/config.yml
Additional context
I tried it with Netlify CMS 2.0 and that worked as expected, so this seems to be some kind of regression.
This is a regression. Somewhere between 3.2.8
and 3.3.2
. date_format
doesn't work at all now. Before updating the logic to do anything new, shouldn't it be reverted to its previous working state?
Facing the same issue.
@mikestopcontinues Those versions don't yet exist, maybe it is typo, do you know which version has it working?
UPDATE: Oh! you meant the decap-cms-code
version?
Got a combo that seems to be working: decap-cms 3.0.8 decap-cms-core 3.2.4 https://unpkg.com/[email protected]/dist/decap-cms.js
A fix is released in v3.1.6 (#7091). @sverrejb @filipesperandio @mikestopcontinues can you please test if it works now?
From what I can tell, it works as intended now. Thanks for fixing it, and letting me know! 😄