3 ms·
This seems more to do with how JSON works than Temporal. There are libraries such as Devalue which will handle this for you `devalue.parse(devalue.stringify(Te
by aubergene 7mo ago
This seems more to do with how JSON works than Temporal. There are libraries such as Devalue which will handle this for you
`devalue.parse(devalue.stringify(Temporal.PlainYearMonth.from({year:2026,month:1}))).subtract({ years: 1})`
https://www.npmjs.com/package/devalue https://www.npmjs.com/package/devalue