我们是否有类似moment.weekdays()或moment.months()将返回 AM PM 本地化的函数?像moment.period()什么?timeFormatDefaultLocale({ "dateTime": "%A, der %e. %B %Y, %X", "date": "%d.%m.%Y", "time": "%H:%M:%S", "periods": ["AM", "PM"], <------ I need to pass moment function to get period "days": moment.weekdays() as any, "shortDays": moment.weekdaysShort() as any, "months": moment.months() as any, "shortMonths": moment.monthsShort() as any});
添加回答
举报
0/150
提交
取消