This commit is contained in:
2025-11-21 01:42:54 +08:00
parent ff026c6f32
commit f89196c73c
1953 changed files with 9 additions and 15246 deletions
@@ -0,0 +1,16 @@
import { addFormatToken } from '../format/format';
// FORMATTING
addFormatToken('z', 0, 0, 'zoneAbbr');
addFormatToken('zz', 0, 0, 'zoneName');
// MOMENTS
export function getZoneAbbr() {
return this._isUTC ? 'UTC' : '';
}
export function getZoneName() {
return this._isUTC ? 'Coordinated Universal Time' : '';
}