strptime bug fix