use format() instead of toISOString(), so we get the right timezone offset.