Switched date formatting to YYYY-MM-DD to fix ff & safari bug