BigIntSupport
BigIntSupport erweitert die dayjs()
- und dayjs.unix
-APIs, um die Verwendung von BigInt-Argumenten zu ermöglichen.
javascript
const bigIntSupport = require('dayjs/plugin/bigIntSupport');
// import bigIntSupport from 'dayjs/plugin/bigIntSupport' // ES 2015
dayjs.extend(bigIntSupport);
dayjs(BigInt(1666310421101));
dayjs.unix(BigInt(1666311003));