Format (locale) dates toISO8601 (needed in Firefox calendar.js)