我收到了后端2的值。
2019-05-01T17:38:00Z.UTC+10,UTC-2。我需要增加或减去基于偏移值的日期。
发布于 2019-04-23 13:45:33
使用矩().utcOffset()
// these are equivalent
moment().utcOffset("+08:00");
moment().utcOffset(8);
moment().utcOffset(480);https://stackoverflow.com/questions/55812578
复制相似问题