(value)
| 14 | new Intl.DateTimeFormat('en-CA', { timeZone }).format(date); |
| 15 | const formatDateTimeWithOffset = (date, offsetMinutes) => { |
| 16 | const pad = (value) => String(value).padStart(2, '0'); |
| 17 | const adjusted = new Date(date.getTime() + offsetMinutes * 60 * 1000); |
| 18 | const yyyy = adjusted.getUTCFullYear(); |
| 19 | const MM = pad(adjusted.getUTCMonth() + 1); |
no outgoing calls
no test coverage detected