我从后端2接收值。
2019-05-01T17:38:00Z
UTC+10
UTC-2
我需要根据偏移值加上或减去日期。
使用moment()。utcOffset()
// these are equivalent moment().utcOffset("+08:00"); moment().utcOffset(8); moment().utcOffset(480);