LLWiki正在建设中,欢迎加入我们

“MediaWiki:Gadget-site-lib.js”的版本间差异

跳转到导航 跳转到搜索
添加32字节 、​ 2021年2月14日 (日) 13:03
无编辑摘要
*/
mw.convertTimezone = function(then, timezone) {
if (isNaN( timezone ) || timezone === '') { //timezone = undefined; 时区名称}
if (isNaN( timezone )) { // 时区名称
const date = new Date(then);
return [ moment(date.toLocaleString('ia', {timeZone: timezone}), 'DD-MM-YYYY HH:mm'),
16,874

个编辑

导航菜单