Fixed error with localtime on date.