Jdatachooser does not place the date correctly

27 views Asked by At

I am making a simple form, I have installed the jcalendar library to be able to place a calendar, however, when placing the date it places the wrong month, I will attach an image to show the result. enter image description here

Search for ways to fix it but I don't find similar problems.

1

There are 1 answers

0
Jaider Mendoza On

I found the solution, apparently it had the date format yyyy-mm-dd and jcalendar detects lowercase m as minutes, to solve it use MM