Date Type Properties

A date-type property in Weissr can have one of three date resolutions:

  • Year, Month, Day

  • Year and Month

  • Year

image-20240925-144540.png
Form display of date-type properties with three resolutions: Year (DateY), Year and Month (DateYM), and Year, Month, and Day (DateYMD)

For properties with an existing date resolution, it is possible to change the resolution. Below is a detailed explanation of how projects will behave when changing date formats for a date-type property:

1. Year Resolution

  • Changing to Year and Month: The date will adjust to January of the same year.
    (Example: 2024 → January 2024)

  • Changing to Year, Month, Day: The date will appear as the 1st of January of the same year.
    (Example: 2024 → January 1st, 2024)

2. Year and Month Resolution

  • Changing to Year: Only the year will be displayed, hiding the month information.
    (Example: July 2024 → 2024)

  • Changing to Year, Month, Day: The date will appear as the 1st of the selected month in the same year.
    (Example: July 2024 → July 1st, 2024)

3. Year, Month, Day Resolution

  • Changing to Year: The date will be shown as the year only, retaining the year from the previous full date.
    (Example: July 15th, 2024 → 2024)

  • Changing to Year and Month: The date will display the year and month from the previous full date.
    (Example: July 15th, 2024 → July 2024)


Important Notes

  • Reverting to a Higher Resolution: If you change from a higher resolution (e.g., Year, Month, Day) to a lower one (e.g., Year), the full date will be preserved internally. If you later revert to a higher resolution, the original date will be restored.
    (Example: A project with July 15th, 2024 is changed to "Year" resolution (2024). If later changed back to "Year, Month, Day," the original date, July 15th, 2024, will reappear.)

  • Form Updates: When a date property’s resolution is changed, the updated date will be reflected in all forms associated with the project, even if those forms were previously at a different resolution. This applies even if the form is read-only, ensuring consistency across all project forms.

  • Date Formatting: Displayed formats depend on your application settings.