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

Datepicker (datetime) no time at preview mode #1065

Open
AIC-BV opened this issue Feb 26, 2024 · 3 comments
Open

Datepicker (datetime) no time at preview mode #1065

AIC-BV opened this issue Feb 26, 2024 · 3 comments

Comments

@AIC-BV
Copy link
Contributor

AIC-BV commented Feb 26, 2024

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

@AIC-BV AIC-BV added needs review Issues/PRs that require a review from a maintainer Type: Unconfirmed Bug labels Feb 26, 2024
Copy link

This issue will be closed and archived in 3 days, as there has been no activity in this issue for the last 6 months.
If this issue is still relevant or you would like to see it actioned, please respond within 3 days.
If this issue is critical for your business, please reach out to us at [email protected].

@github-actions github-actions bot added the stale Issues/PRs that have had no activity and may be archived label Aug 27, 2024
@AIC-BV
Copy link
Contributor Author

AIC-BV commented Aug 27, 2024

Update context
image
Preview context: missing time information
image

@bennothommo bennothommo removed the stale Issues/PRs that have had no activity and may be archived label Aug 28, 2024
@bennothommo
Copy link
Member

I swear I had fixed this at one point in the October days...

bennothommo added a commit to wintercms/wn-test-plugin that referenced this issue Aug 28, 2024
@bennothommo bennothommo removed the needs review Issues/PRs that require a review from a maintainer label Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants