Fix datetime parsing problem

Change-Id: Id6a0ff5680211329ec9456af20f04e8c01b872ff