Description of the bug
Date field not saving year when display format is set to not show year but popup calendar shows year.
Steps To Reproduce
To reproduce the behavior:
-
Create new Date & Time Format

-
Create new content type or edit an existing Date field to use the date format above and popup calendar
-
Enter content with dates... for example 7th of September 2022 and save content
-
Edit the content type and change the date format to "Long date" for example
Actual behavior
Year, while showing in the popup calendar isn't being saved properly.

Expected behavior
I would expect the date to be saved in a UNIX date format and the Date and Time format would display the date as you wish... allowing the correct date to be saved.
Additional information
Add any other information that could help, such as:
- Backdrop CMS version: 1.20.1