In this showcase:
https://www.smartclient.com/smartcli...e/?id=dateItem
If you add this to the "directInputDate" field as an attribute:
format: "dd MMM YYYY"
Then click "Try It" and enter any one of these as a text date entry and press TAB:
1/1/2000. 1-1-2000 1/2/2000. 1-2-2000
Then the visually displayed date is:
01 Jan 1999 --- or --- 02 Jan 1999
The underlying field value does actually remain the correct one as entered in the field but the visual display is a year prior.
The same applies for the date picker - using a startDate that allows picking 1 Jan 2000 from the picker also shows the prior year as the visually displayed date.
https://www.smartclient.com/smartcli...e/?id=dateItem
If you add this to the "directInputDate" field as an attribute:
format: "dd MMM YYYY"
Then click "Try It" and enter any one of these as a text date entry and press TAB:
1/1/2000. 1-1-2000 1/2/2000. 1-2-2000
Then the visually displayed date is:
01 Jan 1999 --- or --- 02 Jan 1999
The underlying field value does actually remain the correct one as entered in the field but the visual display is a year prior.
The same applies for the date picker - using a startDate that allows picking 1 Jan 2000 from the picker also shows the prior year as the visually displayed date.
Comment