Page 1 of 1
nuDate dd.mm.yy Year-Failure
Posted: Fri May 28, 2021 10:21 am
by getNo
I found the following Bug.
When only showing 2 Years digits, the popup Calendar shows the wrong century.
Workaround using YYYY.
Re: nuDate dd.mm.yy Year-Failure
Posted: Fri May 28, 2021 10:57 am
by kev1n
Adding
Code: Select all
if (d.y.length == 2) d.y = '20' + d.y;
after
should fix it.
https://github.com/nuBuilder/nuBuilder- ... s.js#L1057
This will treat a two digit year as in the 20th century.
You will need to log in again after modifying that file.
Re: nuDate dd.mm.yy Year-Failure
Posted: Sat Jun 12, 2021 8:47 am
by kev1n
Hi,
Does it work for you?
Re: nuDate dd.mm.yy Year-Failure
Posted: Wed Jul 07, 2021 12:58 pm
by getNo
Hey, sorry for the late response.
i used YYYY as workaround so didnt tested your code yet. my post was just a report for you.