]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
run prettier
authorIskren Chernev <me@iskren.info>
Sat, 16 Dec 2023 22:22:08 +0000 (00:22 +0200)
committerIskren Chernev <me@iskren.info>
Sat, 16 Dec 2023 22:22:08 +0000 (00:22 +0200)
src/lib/units/aliases.js
src/lib/units/day-of-year.js
src/lib/units/millisecond.js
src/lib/units/minute.js
src/lib/units/month.js
src/lib/units/priorities.js
src/lib/units/second.js
src/lib/units/week-year.js
src/lib/units/week.js

index 5bed9bb99c2b549af993a9443908157eff0f62c4..469a4de8f8b5506fe91187e955f28980d290a654 100644 (file)
@@ -1,7 +1,6 @@
 import hasOwnProp from '../utils/has-own-prop';
 
-var aliases = 
-{
+var aliases = {
     D: 'date',
     dates: 'date',
     date: 'date',
@@ -49,8 +48,8 @@ var aliases =
     isoweek: 'isoWeek',
     y: 'year',
     years: 'year',
-    year: 'year'
-  }
+    year: 'year',
+};
 
 export function normalizeUnits(units) {
     return typeof units === 'string'
index fa216631a952ab8b0b879903be07bffe739654e6..4fae6f43327dfb1f195b33ac38eb5a68a419dbb4 100644 (file)
@@ -7,7 +7,6 @@ import toInt from '../utils/to-int';
 
 addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear');
 
-
 // PARSING
 
 addRegexToken('DDD', match1to3);
index 003c635cd322ee777c73c98d7786c9068ae63f3c..4008c9b906f11c8cdae5c1ba9710a01fb5684268 100644 (file)
@@ -42,7 +42,6 @@ addFormatToken(0, ['SSSSSSSSS', 9], 0, function () {
     return this.millisecond() * 1000000;
 });
 
-
 // PARSING
 
 addRegexToken('S', match1to3, match1);
index 37f40850a9e080eeda244dd30dfe7007ff391634..8f0c9cab369fcc3873844e88a5e5e28b412dd565 100644 (file)
@@ -8,7 +8,6 @@ import { MINUTE } from './constants';
 
 addFormatToken('m', ['mm', 2], 0, 'minute');
 
-
 // PARSING
 
 addRegexToken('m', match1to2);
index 309a45ca4a1b4fcd25a31afa3f721c2a6873c04e..68e275919a856ef00d76c0c7704b3f7a071ad8ab 100644 (file)
@@ -47,7 +47,6 @@ addFormatToken('MMMM', 0, 0, function (format) {
     return this.localeData().months(this, format);
 });
 
-
 // PARSING
 
 addRegexToken('M', match1to2);
index 803a7dab1559c85c33c428a5c1a981a9272be9e8..b42d2fc442ad15047f87e80fb3ef958978f8fd99 100644 (file)
@@ -16,8 +16,8 @@ var priorities = {
     isoWeekYear: 1,
     week: 5,
     isoWeek: 5,
-    year: 1
-}
+    year: 1,
+};
 
 export function getPrioritizedUnits(unitsObj) {
     var units = [],
index 46587e74c552878c23e749f7915043fce171fdb1..2eab8bd946b11c6ab2515ef95fc8ae56ef730328 100644 (file)
@@ -8,7 +8,6 @@ import { SECOND } from './constants';
 
 addFormatToken('s', ['ss', 2], 0, 'second');
 
-
 // PARSING
 
 addRegexToken('s', match1to2);
index 4a610c25393693715b3e7dc34b786df7cb482a08..94e438994d34370dca208986c705bc25e9206dfe 100644 (file)
@@ -40,7 +40,6 @@ addWeekYearFormatToken('GGGGG', 'isoWeekYear');
 
 // ALIASES
 
-
 // PARSING
 
 addRegexToken('G', matchSigned);
index 8caa14240411139b53ca6bfd5653178522a0aaa4..5d50b3facf6d323fbc8a5c9bd871289666aeee96 100644 (file)
@@ -9,7 +9,6 @@ import { weekOfYear } from './week-calendar-utils';
 addFormatToken('w', ['ww', 2], 'wo', 'week');
 addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek');
 
-
 // PARSING
 
 addRegexToken('w', match1to2);