Improve struct tm population