not support Intl
ReferenceError: ‘Intl’ is not defined
const formatter = new Intl.DateTimeFormat('en-US', {
year: 'numeric',
month: '2-digit',
day: '2-digit',
hour: 'numeric',
hour12: false,
minute: 'numeric',
timeZone: 'Asia/Shanghai',
});
const expiredAtDate = new Date(expiredAt)
expiredAtText = formatter.format(expiredAtDate);