(str)
| 13 | } |
| 14 | |
| 15 | export function parseDate(str) { |
| 16 | let d = Temporal.PlainDate.from(str, { |
| 17 | overflow: "reject" |
| 18 | }); |
| 19 | return new Date(convertTemporalToTimestamp(d)).toUTCString(); |
| 20 | } |
| 21 | |
| 22 | export function parseDateTime(str) { |
| 23 | let d; |
no test coverage detected