Resolve the date error on post