I want to dayjs instead of
dayjs DayJS API and Basic Syntax · const currentDate = new Date(); const formattedDate = `${()}-${(currentDate · const Check Dayjs 11 package
I am trying to import dayjs to my App because my project decide to avoid using deprecated libraries as much as possible When use with App Router, make sure to add 'use client' before import locale file of dayjs It's because all components of Ant Design only works in
DayJS : Fast 2kB alternative to with the same modern API Visit $ npm install dayjs --save # or $ yarn add dayjs Then simply include it in your script: const dayjs = require; also works in
Quantity: