Datepicker (datetime) no time at preview mode
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
Research direction
Reproduce the issue with the datepicker configuration shown in the report, using datetime mode in preview mode and the two supplied format values. Trace the datepicker preview rendering and verify that the displayed time follows the configured format and does not become 00:00; add or update coverage if the relevant test location is identified.
Written by the indexing model from the issue text.
Description
Winter CMS Build
dev-develop
PHP Version
8.1
Database engine
MySQL/MariaDB
Plugins installed
No response
Issue description
Like the title suggests, datepicker field with datetime does not show time in preview mode
created_at:
label: Created at
type: datepicker
mode: datetime
format: d/m/Y
default: now
span: storm
cssClass: col-xs-4
Ofcourse, the format does not suggest any time.
This format however does, but it shows 00:00 in the date field.
created_at:
label: aic.account::lang.orders.created_at
type: datepicker
mode: datetime
format: d/m/Y H:i
default: now
span: storm
cssClass: col-xs-4
Steps to replicate
See code above
Workaround
A different field for preview
- Dominant language
- PHP
- Stars
- 1.5k
- Forks
- 246
- Avg merge
- 19h 2m
- Merged PRs (30d)
- 7
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from wintercms/winter
-
needs review
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
low priority needs pr
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
vite:watch writes an unreachable dev-server URL (http://[::]:5173) to the hot file on IPv6 hosts Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in wintercms/winter
Similar issues
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nextcloud/fulltextsearch#1011 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
phpstan/phpstan-doctrine#794 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Automattic/static-site-importer#1767 ·