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 values shown in backoffice are broken #777

Closed
aguyfromdenmark opened this issue May 23, 2022 · 1 comment
Closed

Datepicker values shown in backoffice are broken #777

aguyfromdenmark opened this issue May 23, 2022 · 1 comment

Comments

@aguyfromdenmark
Copy link

When using a Datepicker in your form, the values of the datepicker is very broken when shown in backoffice.

Reproduction

Bug summary

The shown value of the datepicker as shown on the entries list is in a different format, depending on the date, and on some dates, it's even the wrong date shown. Some dates are shown as null when looking at the single entry.
Here are two examples.
The first image shows how the date is presented in the datepicker.
The second image shows the values in the markup.
The third image shows how the date is shown in the entries list in backoffice.
The fourth image shows how the date is shown when looking at a single entry.

First date: The 24th of May 2022.
datepicker
datepickervalues
datepickerinbo
datepickerinboentry

Second date: The 10th of May 2022 (It thinks that it's in October)
datepicker2
datepickervalues2
datepickerinbo2
datepickerinboentry2

Specifics

I am running Umbraco 9.5 and Forms 9.4.1. This is a cloud site, but the test is done locally, running in IIS.

Steps to reproduce

  1. Add a datepicker to a form
  2. Submit the form
  3. Look at the value in entry in backoffice

Expected result

The correct date is always shown.

Actual result

Incorrect or no date is shown.

@AndyButland
Copy link

A resolution to this will be available in the next minor releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants