I found the following Bug.
When only showing 2 Years digits, the popup Calendar shows the wrong century.
Workaround using YYYY.
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
nuDate dd.mm.yy Year-Failure
-
- Posts: 21
- Joined: Thu Feb 18, 2021 5:56 pm
nuDate dd.mm.yy Year-Failure
You do not have the required permissions to view the files attached to this post.
-
- nuBuilder Team
- Posts: 4303
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 445 times
- Contact:
Re: nuDate dd.mm.yy Year-Failure
Adding
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.
Code: Select all
if (d.y.length == 2) d.y = '20' + d.y;
Code: Select all
d.y = v[i];
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.
You do not have the required permissions to view the files attached to this post.
-
- nuBuilder Team
- Posts: 4303
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 445 times
- Contact:
-
- Posts: 21
- Joined: Thu Feb 18, 2021 5:56 pm
Re: nuDate dd.mm.yy Year-Failure
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.
i used YYYY as workaround so didnt tested your code yet. my post was just a report for you.