16,874
个编辑
LLWiki正在建设中,欢迎加入我们!
小 |
小 |
||
*/
mw.convertTimezone = function(then, timezone) {
if (isNaN( timezone ) || timezone === '') { // 时区名称
const date = new Date(then);
return [ moment(date.toLocaleString('ia', {timeZone: timezone}), 'DD-MM-YYYY HH:mm'),
|