You can do this without using moment also function getDateFormatString() { const formatObj = new Intl.DateTimeFormat(locale).formatToParts(new Date()) ...
確定! 回上一頁