Changed day and month from factors to integers in check for leap year.
Fixes failure when getting normals in a leap year when hour>18.