Used Time.format instead of parsing Date.toISOString.