Fixed the time parser