From 4081c2036a5af21519095da1b8b99c507b0fba93 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 17 Apr 2022 17:37:10 +0200 Subject: Deprecation --- node_modules/moment/src/lib/units/timezone.js | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 node_modules/moment/src/lib/units/timezone.js (limited to 'node_modules/moment/src/lib/units/timezone.js') diff --git a/node_modules/moment/src/lib/units/timezone.js b/node_modules/moment/src/lib/units/timezone.js deleted file mode 100644 index 3831fd3..0000000 --- a/node_modules/moment/src/lib/units/timezone.js +++ /dev/null @@ -1,16 +0,0 @@ -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' : ''; -} -- cgit