Fixed bug when having non A-Z chars in month name

Thanks to D-ominik for reporting and to Muhobrc for providing the fix!