@redis-ui/components 46.1.3 → 47.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Toast/Toaster.style.cjs +2 -2
- package/dist/Toast/Toaster.style.js +2 -2
- package/dist/Toast/core/mapping.helpers.cjs +1 -1
- package/dist/Toast/core/mapping.helpers.js +1 -1
- package/dist/index.cjs +1 -5
- package/dist/index.d.ts +0 -1
- package/dist/index.js +2 -4
- package/dist/node_modules/react-loading-skeleton/dist/index.cjs +2 -1
- package/dist/node_modules/react-loading-skeleton/dist/index.js +2 -1
- package/dist/{packages/components/node_modules → node_modules}/react-toastify/dist/react-toastify.esm.cjs +3 -3
- package/dist/{packages/components/node_modules → node_modules}/react-toastify/dist/react-toastify.esm.js +2 -2
- package/package.json +2 -4
- package/skills/redis-ui-components/SKILL.md +0 -1
- package/dist/DatePicker/DatePicker.cjs +0 -32
- package/dist/DatePicker/DatePicker.d.ts +0 -6
- package/dist/DatePicker/DatePicker.js +0 -31
- package/dist/DatePicker/DatePicker.style.cjs +0 -251
- package/dist/DatePicker/DatePicker.style.d.ts +0 -3
- package/dist/DatePicker/DatePicker.style.js +0 -249
- package/dist/DatePicker/DatePicker.types.d.ts +0 -17
- package/dist/DatePicker/DatePicker.types.js +0 -1
- package/dist/DatePicker/DatePicker.utils.cjs +0 -7
- package/dist/DatePicker/DatePicker.utils.d.ts +0 -2
- package/dist/DatePicker/DatePicker.utils.js +0 -6
- package/dist/DatePicker/RangeDatePicker.cjs +0 -30
- package/dist/DatePicker/RangeDatePicker.d.ts +0 -3
- package/dist/DatePicker/RangeDatePicker.js +0 -29
- package/dist/DatePicker/components/CustomDropdown/CustomDropdown.cjs +0 -34
- package/dist/DatePicker/components/CustomDropdown/CustomDropdown.d.ts +0 -3
- package/dist/DatePicker/components/CustomDropdown/CustomDropdown.js +0 -32
- package/dist/DatePicker/components/CustomLeftIcon/CustomLeftIcon.cjs +0 -11
- package/dist/DatePicker/components/CustomLeftIcon/CustomLeftIcon.d.ts +0 -2
- package/dist/DatePicker/components/CustomLeftIcon/CustomLeftIcon.js +0 -10
- package/dist/DatePicker/components/CustomRightIcon/CustomRightIcon.cjs +0 -11
- package/dist/DatePicker/components/CustomRightIcon/CustomRightIcon.d.ts +0 -2
- package/dist/DatePicker/components/CustomRightIcon/CustomRightIcon.js +0 -10
- package/dist/DatePicker/index.d.ts +0 -3
- package/dist/DatePicker/index.js +0 -2
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.cjs +0 -6
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +0 -6
- package/dist/node_modules/date-fns/_lib/defaultOptions.cjs +0 -7
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +0 -7
- package/dist/node_modules/date-fns/_lib/format/formatters.cjs +0 -418
- package/dist/node_modules/date-fns/_lib/format/formatters.js +0 -418
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.cjs +0 -45
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +0 -45
- package/dist/node_modules/date-fns/_lib/format/longFormatters.cjs +0 -45
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +0 -45
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +0 -21
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -21
- package/dist/node_modules/date-fns/_lib/protectedTokens.cjs +0 -28
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +0 -26
- package/dist/node_modules/date-fns/addDays.cjs +0 -32
- package/dist/node_modules/date-fns/addDays.js +0 -32
- package/dist/node_modules/date-fns/addMonths.cjs +0 -42
- package/dist/node_modules/date-fns/addMonths.js +0 -42
- package/dist/node_modules/date-fns/addWeeks.cjs +0 -27
- package/dist/node_modules/date-fns/addWeeks.js +0 -27
- package/dist/node_modules/date-fns/addYears.cjs +0 -27
- package/dist/node_modules/date-fns/addYears.js +0 -27
- package/dist/node_modules/date-fns/constants.cjs +0 -39
- package/dist/node_modules/date-fns/constants.js +0 -38
- package/dist/node_modules/date-fns/constructFrom.cjs +0 -37
- package/dist/node_modules/date-fns/constructFrom.js +0 -37
- package/dist/node_modules/date-fns/differenceInCalendarDays.cjs +0 -45
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +0 -45
- package/dist/node_modules/date-fns/differenceInCalendarMonths.cjs +0 -34
- package/dist/node_modules/date-fns/differenceInCalendarMonths.js +0 -34
- package/dist/node_modules/date-fns/differenceInCalendarWeeks.cjs +0 -50
- package/dist/node_modules/date-fns/differenceInCalendarWeeks.js +0 -50
- package/dist/node_modules/date-fns/endOfISOWeek.cjs +0 -29
- package/dist/node_modules/date-fns/endOfISOWeek.js +0 -29
- package/dist/node_modules/date-fns/endOfMonth.cjs +0 -31
- package/dist/node_modules/date-fns/endOfMonth.js +0 -31
- package/dist/node_modules/date-fns/endOfWeek.cjs +0 -44
- package/dist/node_modules/date-fns/endOfWeek.js +0 -44
- package/dist/node_modules/date-fns/format.cjs +0 -357
- package/dist/node_modules/date-fns/format.js +0 -357
- package/dist/node_modules/date-fns/getDayOfYear.cjs +0 -29
- package/dist/node_modules/date-fns/getDayOfYear.js +0 -29
- package/dist/node_modules/date-fns/getDaysInMonth.cjs +0 -33
- package/dist/node_modules/date-fns/getDaysInMonth.js +0 -33
- package/dist/node_modules/date-fns/getISOWeek.cjs +0 -33
- package/dist/node_modules/date-fns/getISOWeek.js +0 -33
- package/dist/node_modules/date-fns/getISOWeekYear.cjs +0 -43
- package/dist/node_modules/date-fns/getISOWeekYear.js +0 -43
- package/dist/node_modules/date-fns/getUnixTime.cjs +0 -26
- package/dist/node_modules/date-fns/getUnixTime.js +0 -26
- package/dist/node_modules/date-fns/getWeek.cjs +0 -51
- package/dist/node_modules/date-fns/getWeek.js +0 -51
- package/dist/node_modules/date-fns/getWeekYear.cjs +0 -63
- package/dist/node_modules/date-fns/getWeekYear.js +0 -63
- package/dist/node_modules/date-fns/getWeeksInMonth.cjs +0 -38
- package/dist/node_modules/date-fns/getWeeksInMonth.js +0 -38
- package/dist/node_modules/date-fns/isAfter.cjs +0 -29
- package/dist/node_modules/date-fns/isAfter.js +0 -29
- package/dist/node_modules/date-fns/isBefore.cjs +0 -29
- package/dist/node_modules/date-fns/isBefore.js +0 -29
- package/dist/node_modules/date-fns/isDate.cjs +0 -38
- package/dist/node_modules/date-fns/isDate.js +0 -38
- package/dist/node_modules/date-fns/isSameDay.cjs +0 -39
- package/dist/node_modules/date-fns/isSameDay.js +0 -39
- package/dist/node_modules/date-fns/isSameMonth.cjs +0 -34
- package/dist/node_modules/date-fns/isSameMonth.js +0 -34
- package/dist/node_modules/date-fns/isSameYear.cjs +0 -29
- package/dist/node_modules/date-fns/isSameYear.js +0 -29
- package/dist/node_modules/date-fns/isValid.cjs +0 -43
- package/dist/node_modules/date-fns/isValid.js +0 -43
- package/dist/node_modules/date-fns/lastDayOfMonth.cjs +0 -31
- package/dist/node_modules/date-fns/lastDayOfMonth.js +0 -31
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +0 -9
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -9
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +0 -51
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -51
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +0 -28
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -28
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +0 -19
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -19
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +0 -76
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -76
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +0 -32
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -32
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +0 -12
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -12
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.cjs +0 -211
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -211
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.cjs +0 -123
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -124
- package/dist/node_modules/date-fns/locale/en-US.cjs +0 -28
- package/dist/node_modules/date-fns/locale/en-US.js +0 -28
- package/dist/node_modules/date-fns/max.cjs +0 -36
- package/dist/node_modules/date-fns/max.js +0 -36
- package/dist/node_modules/date-fns/min.cjs +0 -36
- package/dist/node_modules/date-fns/min.js +0 -36
- package/dist/node_modules/date-fns/setMonth.cjs +0 -37
- package/dist/node_modules/date-fns/setMonth.js +0 -37
- package/dist/node_modules/date-fns/setYear.cjs +0 -31
- package/dist/node_modules/date-fns/setYear.js +0 -31
- package/dist/node_modules/date-fns/startOfDay.cjs +0 -29
- package/dist/node_modules/date-fns/startOfDay.js +0 -29
- package/dist/node_modules/date-fns/startOfISOWeek.cjs +0 -29
- package/dist/node_modules/date-fns/startOfISOWeek.js +0 -29
- package/dist/node_modules/date-fns/startOfISOWeekYear.cjs +0 -36
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +0 -36
- package/dist/node_modules/date-fns/startOfMonth.cjs +0 -30
- package/dist/node_modules/date-fns/startOfMonth.js +0 -30
- package/dist/node_modules/date-fns/startOfWeek.cjs +0 -44
- package/dist/node_modules/date-fns/startOfWeek.js +0 -44
- package/dist/node_modules/date-fns/startOfWeekYear.cjs +0 -55
- package/dist/node_modules/date-fns/startOfWeekYear.js +0 -55
- package/dist/node_modules/date-fns/startOfYear.cjs +0 -32
- package/dist/node_modules/date-fns/startOfYear.js +0 -32
- package/dist/node_modules/date-fns/subDays.cjs +0 -27
- package/dist/node_modules/date-fns/subDays.js +0 -27
- package/dist/node_modules/date-fns/toDate.cjs +0 -41
- package/dist/node_modules/date-fns/toDate.js +0 -41
- package/dist/node_modules/react-day-picker/dist/index.esm.cjs +0 -2094
- package/dist/node_modules/react-day-picker/dist/index.esm.js +0 -2092
- package/skills/redis-ui-components/references/DatePicker.md +0 -52
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import { buildMatchFn } from "../../_lib/buildMatchFn.js";
|
|
2
|
-
import { buildMatchPatternFn } from "../../_lib/buildMatchPatternFn.js";
|
|
3
|
-
var match = {
|
|
4
|
-
ordinalNumber: buildMatchPatternFn({
|
|
5
|
-
matchPattern: /^(\d+)(th|st|nd|rd)?/i,
|
|
6
|
-
parsePattern: /\d+/i,
|
|
7
|
-
valueCallback: (value) => parseInt(value, 10)
|
|
8
|
-
}),
|
|
9
|
-
era: buildMatchFn({
|
|
10
|
-
matchPatterns: {
|
|
11
|
-
narrow: /^(b|a)/i,
|
|
12
|
-
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
13
|
-
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
14
|
-
},
|
|
15
|
-
defaultMatchWidth: "wide",
|
|
16
|
-
parsePatterns: { any: [/^b/i, /^(a|c)/i] },
|
|
17
|
-
defaultParseWidth: "any"
|
|
18
|
-
}),
|
|
19
|
-
quarter: buildMatchFn({
|
|
20
|
-
matchPatterns: {
|
|
21
|
-
narrow: /^[1234]/i,
|
|
22
|
-
abbreviated: /^q[1234]/i,
|
|
23
|
-
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
24
|
-
},
|
|
25
|
-
defaultMatchWidth: "wide",
|
|
26
|
-
parsePatterns: { any: [
|
|
27
|
-
/1/i,
|
|
28
|
-
/2/i,
|
|
29
|
-
/3/i,
|
|
30
|
-
/4/i
|
|
31
|
-
] },
|
|
32
|
-
defaultParseWidth: "any",
|
|
33
|
-
valueCallback: (index) => index + 1
|
|
34
|
-
}),
|
|
35
|
-
month: buildMatchFn({
|
|
36
|
-
matchPatterns: {
|
|
37
|
-
narrow: /^[jfmasond]/i,
|
|
38
|
-
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
|
39
|
-
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
|
40
|
-
},
|
|
41
|
-
defaultMatchWidth: "wide",
|
|
42
|
-
parsePatterns: {
|
|
43
|
-
narrow: [
|
|
44
|
-
/^j/i,
|
|
45
|
-
/^f/i,
|
|
46
|
-
/^m/i,
|
|
47
|
-
/^a/i,
|
|
48
|
-
/^m/i,
|
|
49
|
-
/^j/i,
|
|
50
|
-
/^j/i,
|
|
51
|
-
/^a/i,
|
|
52
|
-
/^s/i,
|
|
53
|
-
/^o/i,
|
|
54
|
-
/^n/i,
|
|
55
|
-
/^d/i
|
|
56
|
-
],
|
|
57
|
-
any: [
|
|
58
|
-
/^ja/i,
|
|
59
|
-
/^f/i,
|
|
60
|
-
/^mar/i,
|
|
61
|
-
/^ap/i,
|
|
62
|
-
/^may/i,
|
|
63
|
-
/^jun/i,
|
|
64
|
-
/^jul/i,
|
|
65
|
-
/^au/i,
|
|
66
|
-
/^s/i,
|
|
67
|
-
/^o/i,
|
|
68
|
-
/^n/i,
|
|
69
|
-
/^d/i
|
|
70
|
-
]
|
|
71
|
-
},
|
|
72
|
-
defaultParseWidth: "any"
|
|
73
|
-
}),
|
|
74
|
-
day: buildMatchFn({
|
|
75
|
-
matchPatterns: {
|
|
76
|
-
narrow: /^[smtwf]/i,
|
|
77
|
-
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
78
|
-
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
79
|
-
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
|
80
|
-
},
|
|
81
|
-
defaultMatchWidth: "wide",
|
|
82
|
-
parsePatterns: {
|
|
83
|
-
narrow: [
|
|
84
|
-
/^s/i,
|
|
85
|
-
/^m/i,
|
|
86
|
-
/^t/i,
|
|
87
|
-
/^w/i,
|
|
88
|
-
/^t/i,
|
|
89
|
-
/^f/i,
|
|
90
|
-
/^s/i
|
|
91
|
-
],
|
|
92
|
-
any: [
|
|
93
|
-
/^su/i,
|
|
94
|
-
/^m/i,
|
|
95
|
-
/^tu/i,
|
|
96
|
-
/^w/i,
|
|
97
|
-
/^th/i,
|
|
98
|
-
/^f/i,
|
|
99
|
-
/^sa/i
|
|
100
|
-
]
|
|
101
|
-
},
|
|
102
|
-
defaultParseWidth: "any"
|
|
103
|
-
}),
|
|
104
|
-
dayPeriod: buildMatchFn({
|
|
105
|
-
matchPatterns: {
|
|
106
|
-
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
|
107
|
-
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
|
108
|
-
},
|
|
109
|
-
defaultMatchWidth: "any",
|
|
110
|
-
parsePatterns: { any: {
|
|
111
|
-
am: /^a/i,
|
|
112
|
-
pm: /^p/i,
|
|
113
|
-
midnight: /^mi/i,
|
|
114
|
-
noon: /^no/i,
|
|
115
|
-
morning: /morning/i,
|
|
116
|
-
afternoon: /afternoon/i,
|
|
117
|
-
evening: /evening/i,
|
|
118
|
-
night: /night/i
|
|
119
|
-
} },
|
|
120
|
-
defaultParseWidth: "any"
|
|
121
|
-
})
|
|
122
|
-
};
|
|
123
|
-
//#endregion
|
|
124
|
-
export { match };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
const require_formatDistance = require("./en-US/_lib/formatDistance.cjs");
|
|
2
|
-
const require_formatLong = require("./en-US/_lib/formatLong.cjs");
|
|
3
|
-
const require_formatRelative = require("./en-US/_lib/formatRelative.cjs");
|
|
4
|
-
const require_localize = require("./en-US/_lib/localize.cjs");
|
|
5
|
-
const require_match = require("./en-US/_lib/match.cjs");
|
|
6
|
-
//#region ../../node_modules/date-fns/locale/en-US.mjs
|
|
7
|
-
/**
|
|
8
|
-
* @category Locales
|
|
9
|
-
* @summary English locale (United States).
|
|
10
|
-
* @language English
|
|
11
|
-
* @iso-639-2 eng
|
|
12
|
-
* @author Sasha Koss [@kossnocorp](https://github.com/kossnocorp)
|
|
13
|
-
* @author Lesha Koss [@leshakoss](https://github.com/leshakoss)
|
|
14
|
-
*/
|
|
15
|
-
var enUS = {
|
|
16
|
-
code: "en-US",
|
|
17
|
-
formatDistance: require_formatDistance.formatDistance,
|
|
18
|
-
formatLong: require_formatLong.formatLong,
|
|
19
|
-
formatRelative: require_formatRelative.formatRelative,
|
|
20
|
-
localize: require_localize.localize,
|
|
21
|
-
match: require_match.match,
|
|
22
|
-
options: {
|
|
23
|
-
weekStartsOn: 0,
|
|
24
|
-
firstWeekContainsDate: 1
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
//#endregion
|
|
28
|
-
exports.default = enUS;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { formatDistance } from "./en-US/_lib/formatDistance.js";
|
|
2
|
-
import { formatLong } from "./en-US/_lib/formatLong.js";
|
|
3
|
-
import { formatRelative } from "./en-US/_lib/formatRelative.js";
|
|
4
|
-
import { localize } from "./en-US/_lib/localize.js";
|
|
5
|
-
import { match } from "./en-US/_lib/match.js";
|
|
6
|
-
//#region ../../node_modules/date-fns/locale/en-US.mjs
|
|
7
|
-
/**
|
|
8
|
-
* @category Locales
|
|
9
|
-
* @summary English locale (United States).
|
|
10
|
-
* @language English
|
|
11
|
-
* @iso-639-2 eng
|
|
12
|
-
* @author Sasha Koss [@kossnocorp](https://github.com/kossnocorp)
|
|
13
|
-
* @author Lesha Koss [@leshakoss](https://github.com/leshakoss)
|
|
14
|
-
*/
|
|
15
|
-
var enUS = {
|
|
16
|
-
code: "en-US",
|
|
17
|
-
formatDistance,
|
|
18
|
-
formatLong,
|
|
19
|
-
formatRelative,
|
|
20
|
-
localize,
|
|
21
|
-
match,
|
|
22
|
-
options: {
|
|
23
|
-
weekStartsOn: 0,
|
|
24
|
-
firstWeekContainsDate: 1
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
//#endregion
|
|
28
|
-
export { enUS as default };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
const require_toDate = require("./toDate.cjs");
|
|
2
|
-
//#region ../../node_modules/date-fns/max.mjs
|
|
3
|
-
/**
|
|
4
|
-
* @name max
|
|
5
|
-
* @category Common Helpers
|
|
6
|
-
* @summary Return the latest of the given dates.
|
|
7
|
-
*
|
|
8
|
-
* @description
|
|
9
|
-
* Return the latest of the given dates.
|
|
10
|
-
*
|
|
11
|
-
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
|
12
|
-
*
|
|
13
|
-
* @param dates - The dates to compare
|
|
14
|
-
*
|
|
15
|
-
* @returns The latest of the dates
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* // Which of these dates is the latest?
|
|
19
|
-
* const result = max([
|
|
20
|
-
* new Date(1989, 6, 10),
|
|
21
|
-
* new Date(1987, 1, 11),
|
|
22
|
-
* new Date(1995, 6, 2),
|
|
23
|
-
* new Date(1990, 0, 1)
|
|
24
|
-
* ])
|
|
25
|
-
* //=> Sun Jul 02 1995 00:00:00
|
|
26
|
-
*/
|
|
27
|
-
function max(dates) {
|
|
28
|
-
let result;
|
|
29
|
-
dates.forEach(function(dirtyDate) {
|
|
30
|
-
const currentDate = require_toDate.default(dirtyDate);
|
|
31
|
-
if (result === void 0 || result < currentDate || isNaN(Number(currentDate))) result = currentDate;
|
|
32
|
-
});
|
|
33
|
-
return result || /* @__PURE__ */ new Date(NaN);
|
|
34
|
-
}
|
|
35
|
-
//#endregion
|
|
36
|
-
exports.default = max;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import toDate from "./toDate.js";
|
|
2
|
-
//#region ../../node_modules/date-fns/max.mjs
|
|
3
|
-
/**
|
|
4
|
-
* @name max
|
|
5
|
-
* @category Common Helpers
|
|
6
|
-
* @summary Return the latest of the given dates.
|
|
7
|
-
*
|
|
8
|
-
* @description
|
|
9
|
-
* Return the latest of the given dates.
|
|
10
|
-
*
|
|
11
|
-
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
|
12
|
-
*
|
|
13
|
-
* @param dates - The dates to compare
|
|
14
|
-
*
|
|
15
|
-
* @returns The latest of the dates
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* // Which of these dates is the latest?
|
|
19
|
-
* const result = max([
|
|
20
|
-
* new Date(1989, 6, 10),
|
|
21
|
-
* new Date(1987, 1, 11),
|
|
22
|
-
* new Date(1995, 6, 2),
|
|
23
|
-
* new Date(1990, 0, 1)
|
|
24
|
-
* ])
|
|
25
|
-
* //=> Sun Jul 02 1995 00:00:00
|
|
26
|
-
*/
|
|
27
|
-
function max(dates) {
|
|
28
|
-
let result;
|
|
29
|
-
dates.forEach(function(dirtyDate) {
|
|
30
|
-
const currentDate = toDate(dirtyDate);
|
|
31
|
-
if (result === void 0 || result < currentDate || isNaN(Number(currentDate))) result = currentDate;
|
|
32
|
-
});
|
|
33
|
-
return result || /* @__PURE__ */ new Date(NaN);
|
|
34
|
-
}
|
|
35
|
-
//#endregion
|
|
36
|
-
export { max as default };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
const require_toDate = require("./toDate.cjs");
|
|
2
|
-
//#region ../../node_modules/date-fns/min.mjs
|
|
3
|
-
/**
|
|
4
|
-
* @name min
|
|
5
|
-
* @category Common Helpers
|
|
6
|
-
* @summary Returns the earliest of the given dates.
|
|
7
|
-
*
|
|
8
|
-
* @description
|
|
9
|
-
* Returns the earliest of the given dates.
|
|
10
|
-
*
|
|
11
|
-
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
|
12
|
-
*
|
|
13
|
-
* @param dates - The dates to compare
|
|
14
|
-
*
|
|
15
|
-
* @returns The earliest of the dates
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* // Which of these dates is the earliest?
|
|
19
|
-
* const result = min([
|
|
20
|
-
* new Date(1989, 6, 10),
|
|
21
|
-
* new Date(1987, 1, 11),
|
|
22
|
-
* new Date(1995, 6, 2),
|
|
23
|
-
* new Date(1990, 0, 1)
|
|
24
|
-
* ])
|
|
25
|
-
* //=> Wed Feb 11 1987 00:00:00
|
|
26
|
-
*/
|
|
27
|
-
function min(dates) {
|
|
28
|
-
let result;
|
|
29
|
-
dates.forEach((dirtyDate) => {
|
|
30
|
-
const date = require_toDate.default(dirtyDate);
|
|
31
|
-
if (!result || result > date || isNaN(+date)) result = date;
|
|
32
|
-
});
|
|
33
|
-
return result || /* @__PURE__ */ new Date(NaN);
|
|
34
|
-
}
|
|
35
|
-
//#endregion
|
|
36
|
-
exports.default = min;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import toDate from "./toDate.js";
|
|
2
|
-
//#region ../../node_modules/date-fns/min.mjs
|
|
3
|
-
/**
|
|
4
|
-
* @name min
|
|
5
|
-
* @category Common Helpers
|
|
6
|
-
* @summary Returns the earliest of the given dates.
|
|
7
|
-
*
|
|
8
|
-
* @description
|
|
9
|
-
* Returns the earliest of the given dates.
|
|
10
|
-
*
|
|
11
|
-
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
|
12
|
-
*
|
|
13
|
-
* @param dates - The dates to compare
|
|
14
|
-
*
|
|
15
|
-
* @returns The earliest of the dates
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* // Which of these dates is the earliest?
|
|
19
|
-
* const result = min([
|
|
20
|
-
* new Date(1989, 6, 10),
|
|
21
|
-
* new Date(1987, 1, 11),
|
|
22
|
-
* new Date(1995, 6, 2),
|
|
23
|
-
* new Date(1990, 0, 1)
|
|
24
|
-
* ])
|
|
25
|
-
* //=> Wed Feb 11 1987 00:00:00
|
|
26
|
-
*/
|
|
27
|
-
function min(dates) {
|
|
28
|
-
let result;
|
|
29
|
-
dates.forEach((dirtyDate) => {
|
|
30
|
-
const date = toDate(dirtyDate);
|
|
31
|
-
if (!result || result > date || isNaN(+date)) result = date;
|
|
32
|
-
});
|
|
33
|
-
return result || /* @__PURE__ */ new Date(NaN);
|
|
34
|
-
}
|
|
35
|
-
//#endregion
|
|
36
|
-
export { min as default };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
const require_toDate = require("./toDate.cjs");
|
|
2
|
-
const require_constructFrom = require("./constructFrom.cjs");
|
|
3
|
-
const require_getDaysInMonth = require("./getDaysInMonth.cjs");
|
|
4
|
-
//#region ../../node_modules/date-fns/setMonth.mjs
|
|
5
|
-
/**
|
|
6
|
-
* @name setMonth
|
|
7
|
-
* @category Month Helpers
|
|
8
|
-
* @summary Set the month to the given date.
|
|
9
|
-
*
|
|
10
|
-
* @description
|
|
11
|
-
* Set the month to the given date.
|
|
12
|
-
*
|
|
13
|
-
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
|
14
|
-
*
|
|
15
|
-
* @param date - The date to be changed
|
|
16
|
-
* @param month - The month index to set (0-11)
|
|
17
|
-
*
|
|
18
|
-
* @returns The new date with the month set
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* // Set February to 1 September 2014:
|
|
22
|
-
* const result = setMonth(new Date(2014, 8, 1), 1)
|
|
23
|
-
* //=> Sat Feb 01 2014 00:00:00
|
|
24
|
-
*/
|
|
25
|
-
function setMonth(date, month) {
|
|
26
|
-
const _date = require_toDate.default(date);
|
|
27
|
-
const year = _date.getFullYear();
|
|
28
|
-
const day = _date.getDate();
|
|
29
|
-
const dateWithDesiredMonth = require_constructFrom.default(date, 0);
|
|
30
|
-
dateWithDesiredMonth.setFullYear(year, month, 15);
|
|
31
|
-
dateWithDesiredMonth.setHours(0, 0, 0, 0);
|
|
32
|
-
const daysInMonth = require_getDaysInMonth.default(dateWithDesiredMonth);
|
|
33
|
-
_date.setMonth(month, Math.min(day, daysInMonth));
|
|
34
|
-
return _date;
|
|
35
|
-
}
|
|
36
|
-
//#endregion
|
|
37
|
-
exports.default = setMonth;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import toDate from "./toDate.js";
|
|
2
|
-
import constructFrom from "./constructFrom.js";
|
|
3
|
-
import getDaysInMonth from "./getDaysInMonth.js";
|
|
4
|
-
//#region ../../node_modules/date-fns/setMonth.mjs
|
|
5
|
-
/**
|
|
6
|
-
* @name setMonth
|
|
7
|
-
* @category Month Helpers
|
|
8
|
-
* @summary Set the month to the given date.
|
|
9
|
-
*
|
|
10
|
-
* @description
|
|
11
|
-
* Set the month to the given date.
|
|
12
|
-
*
|
|
13
|
-
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
|
14
|
-
*
|
|
15
|
-
* @param date - The date to be changed
|
|
16
|
-
* @param month - The month index to set (0-11)
|
|
17
|
-
*
|
|
18
|
-
* @returns The new date with the month set
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* // Set February to 1 September 2014:
|
|
22
|
-
* const result = setMonth(new Date(2014, 8, 1), 1)
|
|
23
|
-
* //=> Sat Feb 01 2014 00:00:00
|
|
24
|
-
*/
|
|
25
|
-
function setMonth(date, month) {
|
|
26
|
-
const _date = toDate(date);
|
|
27
|
-
const year = _date.getFullYear();
|
|
28
|
-
const day = _date.getDate();
|
|
29
|
-
const dateWithDesiredMonth = constructFrom(date, 0);
|
|
30
|
-
dateWithDesiredMonth.setFullYear(year, month, 15);
|
|
31
|
-
dateWithDesiredMonth.setHours(0, 0, 0, 0);
|
|
32
|
-
const daysInMonth = getDaysInMonth(dateWithDesiredMonth);
|
|
33
|
-
_date.setMonth(month, Math.min(day, daysInMonth));
|
|
34
|
-
return _date;
|
|
35
|
-
}
|
|
36
|
-
//#endregion
|
|
37
|
-
export { setMonth as default };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
const require_toDate = require("./toDate.cjs");
|
|
2
|
-
const require_constructFrom = require("./constructFrom.cjs");
|
|
3
|
-
//#region ../../node_modules/date-fns/setYear.mjs
|
|
4
|
-
/**
|
|
5
|
-
* @name setYear
|
|
6
|
-
* @category Year Helpers
|
|
7
|
-
* @summary Set the year to the given date.
|
|
8
|
-
*
|
|
9
|
-
* @description
|
|
10
|
-
* Set the year to the given date.
|
|
11
|
-
*
|
|
12
|
-
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
|
13
|
-
*
|
|
14
|
-
* @param date - The date to be changed
|
|
15
|
-
* @param year - The year of the new date
|
|
16
|
-
*
|
|
17
|
-
* @returns The new date with the year set
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* // Set year 2013 to 1 September 2014:
|
|
21
|
-
* const result = setYear(new Date(2014, 8, 1), 2013)
|
|
22
|
-
* //=> Sun Sep 01 2013 00:00:00
|
|
23
|
-
*/
|
|
24
|
-
function setYear(date, year) {
|
|
25
|
-
const _date = require_toDate.default(date);
|
|
26
|
-
if (isNaN(+_date)) return require_constructFrom.default(date, NaN);
|
|
27
|
-
_date.setFullYear(year);
|
|
28
|
-
return _date;
|
|
29
|
-
}
|
|
30
|
-
//#endregion
|
|
31
|
-
exports.default = setYear;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import toDate from "./toDate.js";
|
|
2
|
-
import constructFrom from "./constructFrom.js";
|
|
3
|
-
//#region ../../node_modules/date-fns/setYear.mjs
|
|
4
|
-
/**
|
|
5
|
-
* @name setYear
|
|
6
|
-
* @category Year Helpers
|
|
7
|
-
* @summary Set the year to the given date.
|
|
8
|
-
*
|
|
9
|
-
* @description
|
|
10
|
-
* Set the year to the given date.
|
|
11
|
-
*
|
|
12
|
-
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
|
13
|
-
*
|
|
14
|
-
* @param date - The date to be changed
|
|
15
|
-
* @param year - The year of the new date
|
|
16
|
-
*
|
|
17
|
-
* @returns The new date with the year set
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* // Set year 2013 to 1 September 2014:
|
|
21
|
-
* const result = setYear(new Date(2014, 8, 1), 2013)
|
|
22
|
-
* //=> Sun Sep 01 2013 00:00:00
|
|
23
|
-
*/
|
|
24
|
-
function setYear(date, year) {
|
|
25
|
-
const _date = toDate(date);
|
|
26
|
-
if (isNaN(+_date)) return constructFrom(date, NaN);
|
|
27
|
-
_date.setFullYear(year);
|
|
28
|
-
return _date;
|
|
29
|
-
}
|
|
30
|
-
//#endregion
|
|
31
|
-
export { setYear as default };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
const require_toDate = require("./toDate.cjs");
|
|
2
|
-
//#region ../../node_modules/date-fns/startOfDay.mjs
|
|
3
|
-
/**
|
|
4
|
-
* @name startOfDay
|
|
5
|
-
* @category Day Helpers
|
|
6
|
-
* @summary Return the start of a day for the given date.
|
|
7
|
-
*
|
|
8
|
-
* @description
|
|
9
|
-
* Return the start of a day for the given date.
|
|
10
|
-
* The result will be in the local timezone.
|
|
11
|
-
*
|
|
12
|
-
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
|
13
|
-
*
|
|
14
|
-
* @param date - The original date
|
|
15
|
-
*
|
|
16
|
-
* @returns The start of a day
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* // The start of a day for 2 September 2014 11:55:00:
|
|
20
|
-
* const result = startOfDay(new Date(2014, 8, 2, 11, 55, 0))
|
|
21
|
-
* //=> Tue Sep 02 2014 00:00:00
|
|
22
|
-
*/
|
|
23
|
-
function startOfDay(date) {
|
|
24
|
-
const _date = require_toDate.default(date);
|
|
25
|
-
_date.setHours(0, 0, 0, 0);
|
|
26
|
-
return _date;
|
|
27
|
-
}
|
|
28
|
-
//#endregion
|
|
29
|
-
exports.default = startOfDay;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import toDate from "./toDate.js";
|
|
2
|
-
//#region ../../node_modules/date-fns/startOfDay.mjs
|
|
3
|
-
/**
|
|
4
|
-
* @name startOfDay
|
|
5
|
-
* @category Day Helpers
|
|
6
|
-
* @summary Return the start of a day for the given date.
|
|
7
|
-
*
|
|
8
|
-
* @description
|
|
9
|
-
* Return the start of a day for the given date.
|
|
10
|
-
* The result will be in the local timezone.
|
|
11
|
-
*
|
|
12
|
-
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
|
13
|
-
*
|
|
14
|
-
* @param date - The original date
|
|
15
|
-
*
|
|
16
|
-
* @returns The start of a day
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* // The start of a day for 2 September 2014 11:55:00:
|
|
20
|
-
* const result = startOfDay(new Date(2014, 8, 2, 11, 55, 0))
|
|
21
|
-
* //=> Tue Sep 02 2014 00:00:00
|
|
22
|
-
*/
|
|
23
|
-
function startOfDay(date) {
|
|
24
|
-
const _date = toDate(date);
|
|
25
|
-
_date.setHours(0, 0, 0, 0);
|
|
26
|
-
return _date;
|
|
27
|
-
}
|
|
28
|
-
//#endregion
|
|
29
|
-
export { startOfDay as default };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
const require_startOfWeek = require("./startOfWeek.cjs");
|
|
2
|
-
//#region ../../node_modules/date-fns/startOfISOWeek.mjs
|
|
3
|
-
/**
|
|
4
|
-
* @name startOfISOWeek
|
|
5
|
-
* @category ISO Week Helpers
|
|
6
|
-
* @summary Return the start of an ISO week for the given date.
|
|
7
|
-
*
|
|
8
|
-
* @description
|
|
9
|
-
* Return the start of an ISO week for the given date.
|
|
10
|
-
* The result will be in the local timezone.
|
|
11
|
-
*
|
|
12
|
-
* ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
|
|
13
|
-
*
|
|
14
|
-
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
|
15
|
-
*
|
|
16
|
-
* @param date - The original date
|
|
17
|
-
*
|
|
18
|
-
* @returns The start of an ISO week
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* // The start of an ISO week for 2 September 2014 11:55:00:
|
|
22
|
-
* const result = startOfISOWeek(new Date(2014, 8, 2, 11, 55, 0))
|
|
23
|
-
* //=> Mon Sep 01 2014 00:00:00
|
|
24
|
-
*/
|
|
25
|
-
function startOfISOWeek(date) {
|
|
26
|
-
return require_startOfWeek.default(date, { weekStartsOn: 1 });
|
|
27
|
-
}
|
|
28
|
-
//#endregion
|
|
29
|
-
exports.default = startOfISOWeek;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import startOfWeek from "./startOfWeek.js";
|
|
2
|
-
//#region ../../node_modules/date-fns/startOfISOWeek.mjs
|
|
3
|
-
/**
|
|
4
|
-
* @name startOfISOWeek
|
|
5
|
-
* @category ISO Week Helpers
|
|
6
|
-
* @summary Return the start of an ISO week for the given date.
|
|
7
|
-
*
|
|
8
|
-
* @description
|
|
9
|
-
* Return the start of an ISO week for the given date.
|
|
10
|
-
* The result will be in the local timezone.
|
|
11
|
-
*
|
|
12
|
-
* ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
|
|
13
|
-
*
|
|
14
|
-
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
|
15
|
-
*
|
|
16
|
-
* @param date - The original date
|
|
17
|
-
*
|
|
18
|
-
* @returns The start of an ISO week
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* // The start of an ISO week for 2 September 2014 11:55:00:
|
|
22
|
-
* const result = startOfISOWeek(new Date(2014, 8, 2, 11, 55, 0))
|
|
23
|
-
* //=> Mon Sep 01 2014 00:00:00
|
|
24
|
-
*/
|
|
25
|
-
function startOfISOWeek(date) {
|
|
26
|
-
return startOfWeek(date, { weekStartsOn: 1 });
|
|
27
|
-
}
|
|
28
|
-
//#endregion
|
|
29
|
-
export { startOfISOWeek as default };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
const require_constructFrom = require("./constructFrom.cjs");
|
|
2
|
-
const require_startOfISOWeek = require("./startOfISOWeek.cjs");
|
|
3
|
-
const require_getISOWeekYear = require("./getISOWeekYear.cjs");
|
|
4
|
-
//#region ../../node_modules/date-fns/startOfISOWeekYear.mjs
|
|
5
|
-
/**
|
|
6
|
-
* @name startOfISOWeekYear
|
|
7
|
-
* @category ISO Week-Numbering Year Helpers
|
|
8
|
-
* @summary Return the start of an ISO week-numbering year for the given date.
|
|
9
|
-
*
|
|
10
|
-
* @description
|
|
11
|
-
* Return the start of an ISO week-numbering year,
|
|
12
|
-
* which always starts 3 days before the year's first Thursday.
|
|
13
|
-
* The result will be in the local timezone.
|
|
14
|
-
*
|
|
15
|
-
* ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
|
|
16
|
-
*
|
|
17
|
-
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
|
18
|
-
*
|
|
19
|
-
* @param date - The original date
|
|
20
|
-
*
|
|
21
|
-
* @returns The start of an ISO week-numbering year
|
|
22
|
-
*
|
|
23
|
-
* @example
|
|
24
|
-
* // The start of an ISO week-numbering year for 2 July 2005:
|
|
25
|
-
* const result = startOfISOWeekYear(new Date(2005, 6, 2))
|
|
26
|
-
* //=> Mon Jan 03 2005 00:00:00
|
|
27
|
-
*/
|
|
28
|
-
function startOfISOWeekYear(date) {
|
|
29
|
-
const year = require_getISOWeekYear.default(date);
|
|
30
|
-
const fourthOfJanuary = require_constructFrom.default(date, 0);
|
|
31
|
-
fourthOfJanuary.setFullYear(year, 0, 4);
|
|
32
|
-
fourthOfJanuary.setHours(0, 0, 0, 0);
|
|
33
|
-
return require_startOfISOWeek.default(fourthOfJanuary);
|
|
34
|
-
}
|
|
35
|
-
//#endregion
|
|
36
|
-
exports.default = startOfISOWeekYear;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import constructFrom from "./constructFrom.js";
|
|
2
|
-
import startOfISOWeek from "./startOfISOWeek.js";
|
|
3
|
-
import getISOWeekYear from "./getISOWeekYear.js";
|
|
4
|
-
//#region ../../node_modules/date-fns/startOfISOWeekYear.mjs
|
|
5
|
-
/**
|
|
6
|
-
* @name startOfISOWeekYear
|
|
7
|
-
* @category ISO Week-Numbering Year Helpers
|
|
8
|
-
* @summary Return the start of an ISO week-numbering year for the given date.
|
|
9
|
-
*
|
|
10
|
-
* @description
|
|
11
|
-
* Return the start of an ISO week-numbering year,
|
|
12
|
-
* which always starts 3 days before the year's first Thursday.
|
|
13
|
-
* The result will be in the local timezone.
|
|
14
|
-
*
|
|
15
|
-
* ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
|
|
16
|
-
*
|
|
17
|
-
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
|
18
|
-
*
|
|
19
|
-
* @param date - The original date
|
|
20
|
-
*
|
|
21
|
-
* @returns The start of an ISO week-numbering year
|
|
22
|
-
*
|
|
23
|
-
* @example
|
|
24
|
-
* // The start of an ISO week-numbering year for 2 July 2005:
|
|
25
|
-
* const result = startOfISOWeekYear(new Date(2005, 6, 2))
|
|
26
|
-
* //=> Mon Jan 03 2005 00:00:00
|
|
27
|
-
*/
|
|
28
|
-
function startOfISOWeekYear(date) {
|
|
29
|
-
const year = getISOWeekYear(date);
|
|
30
|
-
const fourthOfJanuary = constructFrom(date, 0);
|
|
31
|
-
fourthOfJanuary.setFullYear(year, 0, 4);
|
|
32
|
-
fourthOfJanuary.setHours(0, 0, 0, 0);
|
|
33
|
-
return startOfISOWeek(fourthOfJanuary);
|
|
34
|
-
}
|
|
35
|
-
//#endregion
|
|
36
|
-
export { startOfISOWeekYear as default };
|