format date string as ISO-8601 for locale independence