Closed viceroyliu closed 11 months ago
中文:打包的时候md文件必须增加date,不然会报错。 English:The md file must be loaded with a date, or you'll get an error.
file:other.js // ISODate增加默认值为空字符串,即可解决 export function formatISODate(ISODate = '') { const dateStr = ISODate.replace('T', ' ').replace('Z', '').split('.')[0];
const formatDateStr = dateStr.replace(/(\s00:00:00)$/, ''); return formatDateStr; }
Bug report
中文:打包的时候md文件必须增加date,不然会报错。 English:The md file must be loaded with a date, or you'll get an error.
try method
file:other.js // ISODate增加默认值为空字符串,即可解决 export function formatISODate(ISODate = '') { const dateStr = ISODate.replace('T', ' ').replace('Z', '').split('.')[0];
const formatDateStr = dateStr.replace(/(\s00:00:00)$/, ''); return formatDateStr; }