fix mktime functionality with <= 1348 years
fix mktime functionality with <= 1348 years