Fix local date test