Fix bug: PR 1422
completed by: Chirayu Desai
Fix bug described at https://www.rtems.org/bugzilla/show_bug.cgi?id=1422
For this PR, you should adopt the patch that was provided but only for the correction of the leap year calculation. Post a new patch that gives the correct calculation for leap year to the Bugzilla and in Melange.