Issue with Date picker

Avatar

Avatar

JD71

Avatar

JD71

JD71

26-01-2021

Hi I am having a weird issue with livecycle designer date picker object.

Any date you select before December 31, 1929 is displayed as +100 years.

for ex: if you choose January 26, 1925 from date picker it display as January 26, 2025.

There is no JavaScript in the Object. It just have Display format under patterns.

Date picker_Year Issue.jpgDate picker_Year Issue_2.jpgDate picker_Year Issue_3.JPG

 

Any idea why this is happening? and Any solution for this would be greatly appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Magus069

MVP

Avatar

Magus069

MVP

Magus069
MVP

26-01-2021

Hi there,

 

This is a simple fix actually, because a default date field object in LiveCycle Designer has it default "edit" value as DD/MM/YY, it can only be accurate up to january 1930 because of how javascript is encoded. Therefore, if you want to have this fix, simply go in the patterns window and select the "Edit" tab on top and select the appropriate pattern to reflect the whole data of a date. Essentially you should select the pattern that uses the full length of a year as YYYY.

 

I hope this will help.

Answers (0)