change commit_date type to datetime