diff --git a/docs/assets/func-sizes.json b/docs/assets/func-sizes.json
index 16ed2ed..cd8d57d 100644
--- a/docs/assets/func-sizes.json
+++ b/docs/assets/func-sizes.json
@@ -5,8 +5,8 @@
"formattedSize": "524 B"
},
"cjs": {
- "size": 5391,
- "formattedSize": "5.39 kB"
+ "size": 5399,
+ "formattedSize": "5.4 kB"
}
},
"addHour": {
@@ -15,8 +15,8 @@
"formattedSize": "526 B"
},
"cjs": {
- "size": 5391,
- "formattedSize": "5.39 kB"
+ "size": 5399,
+ "formattedSize": "5.4 kB"
}
},
"addMinute": {
@@ -25,8 +25,8 @@
"formattedSize": "531 B"
},
"cjs": {
- "size": 5390,
- "formattedSize": "5.39 kB"
+ "size": 5398,
+ "formattedSize": "5.4 kB"
}
},
"addMonth": {
@@ -35,8 +35,8 @@
"formattedSize": "594 B"
},
"cjs": {
- "size": 5392,
- "formattedSize": "5.39 kB"
+ "size": 5406,
+ "formattedSize": "5.41 kB"
}
},
"addSecond": {
@@ -45,8 +45,8 @@
"formattedSize": "526 B"
},
"cjs": {
- "size": 5386,
- "formattedSize": "5.39 kB"
+ "size": 5398,
+ "formattedSize": "5.4 kB"
}
},
"addYear": {
@@ -55,8 +55,8 @@
"formattedSize": "602 B"
},
"cjs": {
- "size": 5391,
- "formattedSize": "5.39 kB"
+ "size": 5399,
+ "formattedSize": "5.4 kB"
}
},
"ap": {
@@ -65,8 +65,8 @@
"formattedSize": "457 B"
},
"cjs": {
- "size": 5390,
- "formattedSize": "5.39 kB"
+ "size": 5404,
+ "formattedSize": "5.4 kB"
}
},
"applyOffset": {
@@ -75,8 +75,8 @@
"formattedSize": "627 B"
},
"cjs": {
- "size": 5391,
- "formattedSize": "5.39 kB"
+ "size": 5402,
+ "formattedSize": "5.4 kB"
}
},
"date": {
@@ -85,8 +85,8 @@
"formattedSize": "504 B"
},
"cjs": {
- "size": 5390,
- "formattedSize": "5.39 kB"
+ "size": 5404,
+ "formattedSize": "5.4 kB"
}
},
"dayEnd": {
@@ -95,8 +95,8 @@
"formattedSize": "518 B"
},
"cjs": {
- "size": 5391,
- "formattedSize": "5.39 kB"
+ "size": 5399,
+ "formattedSize": "5.4 kB"
}
},
"dayOfYear": {
@@ -105,8 +105,8 @@
"formattedSize": "554 B"
},
"cjs": {
- "size": 5390,
- "formattedSize": "5.39 kB"
+ "size": 5400,
+ "formattedSize": "5.4 kB"
}
},
"dayStart": {
@@ -115,28 +115,28 @@
"formattedSize": "514 B"
},
"cjs": {
- "size": 5392,
+ "size": 5395,
"formattedSize": "5.39 kB"
}
},
"format": {
"esm": {
- "size": 2852,
- "formattedSize": "2.85 kB"
+ "size": 2858,
+ "formattedSize": "2.86 kB"
},
"cjs": {
- "size": 5390,
- "formattedSize": "5.39 kB"
+ "size": 5400,
+ "formattedSize": "5.4 kB"
}
},
"formatStr": {
"esm": {
- "size": 1605,
- "formattedSize": "1.6 kB"
+ "size": 1609,
+ "formattedSize": "1.61 kB"
},
"cjs": {
- "size": 5390,
- "formattedSize": "5.39 kB"
+ "size": 5400,
+ "formattedSize": "5.4 kB"
}
},
"fourDigitYear": {
@@ -145,8 +145,8 @@
"formattedSize": "286 B"
},
"cjs": {
- "size": 5392,
- "formattedSize": "5.39 kB"
+ "size": 5401,
+ "formattedSize": "5.4 kB"
}
},
"hourEnd": {
@@ -155,8 +155,8 @@
"formattedSize": "523 B"
},
"cjs": {
- "size": 5391,
- "formattedSize": "5.39 kB"
+ "size": 5402,
+ "formattedSize": "5.4 kB"
}
},
"hourStart": {
@@ -165,8 +165,8 @@
"formattedSize": "517 B"
},
"cjs": {
- "size": 5390,
- "formattedSize": "5.39 kB"
+ "size": 5400,
+ "formattedSize": "5.4 kB"
}
},
"isAfter": {
@@ -175,8 +175,8 @@
"formattedSize": "517 B"
},
"cjs": {
- "size": 5390,
- "formattedSize": "5.39 kB"
+ "size": 5400,
+ "formattedSize": "5.4 kB"
}
},
"isBefore": {
@@ -185,8 +185,8 @@
"formattedSize": "517 B"
},
"cjs": {
- "size": 5391,
- "formattedSize": "5.39 kB"
+ "size": 5400,
+ "formattedSize": "5.4 kB"
}
},
"isEqual": {
@@ -195,8 +195,8 @@
"formattedSize": "518 B"
},
"cjs": {
- "size": 5391,
- "formattedSize": "5.39 kB"
+ "size": 5402,
+ "formattedSize": "5.4 kB"
}
},
"iso8601": {
@@ -205,8 +205,8 @@
"formattedSize": "369 B"
},
"cjs": {
- "size": 5391,
- "formattedSize": "5.39 kB"
+ "size": 5401,
+ "formattedSize": "5.4 kB"
}
},
"minuteEnd": {
@@ -215,8 +215,8 @@
"formattedSize": "517 B"
},
"cjs": {
- "size": 5390,
- "formattedSize": "5.39 kB"
+ "size": 5400,
+ "formattedSize": "5.4 kB"
}
},
"minuteStart": {
@@ -225,8 +225,8 @@
"formattedSize": "512 B"
},
"cjs": {
- "size": 5391,
- "formattedSize": "5.39 kB"
+ "size": 5402,
+ "formattedSize": "5.4 kB"
}
},
"monthDays": {
@@ -235,8 +235,8 @@
"formattedSize": "540 B"
},
"cjs": {
- "size": 5390,
- "formattedSize": "5.39 kB"
+ "size": 5400,
+ "formattedSize": "5.4 kB"
}
},
"monthEnd": {
@@ -245,7 +245,7 @@
"formattedSize": "530 B"
},
"cjs": {
- "size": 5392,
+ "size": 5395,
"formattedSize": "5.39 kB"
}
},
@@ -255,8 +255,8 @@
"formattedSize": "522 B"
},
"cjs": {
- "size": 5391,
- "formattedSize": "5.39 kB"
+ "size": 5402,
+ "formattedSize": "5.4 kB"
}
},
"nearestDay": {
@@ -265,27 +265,27 @@
"formattedSize": "768 B"
},
"cjs": {
- "size": 5391,
- "formattedSize": "5.39 kB"
+ "size": 5402,
+ "formattedSize": "5.4 kB"
}
},
"offset": {
"esm": {
- "size": 830,
- "formattedSize": "830 B"
+ "size": 842,
+ "formattedSize": "842 B"
},
"cjs": {
- "size": 5391,
- "formattedSize": "5.39 kB"
+ "size": 5401,
+ "formattedSize": "5.4 kB"
}
},
"parse": {
"esm": {
- "size": 4239,
- "formattedSize": "4.24 kB"
+ "size": 4254,
+ "formattedSize": "4.25 kB"
},
"cjs": {
- "size": 5390,
+ "size": 5395,
"formattedSize": "5.39 kB"
}
},
@@ -295,27 +295,27 @@
"formattedSize": "489 B"
},
"cjs": {
- "size": 5391,
- "formattedSize": "5.39 kB"
+ "size": 5402,
+ "formattedSize": "5.4 kB"
}
},
"parts": {
"esm": {
- "size": 1503,
+ "size": 1504,
"formattedSize": "1.5 kB"
},
"cjs": {
- "size": 5391,
- "formattedSize": "5.39 kB"
+ "size": 5405,
+ "formattedSize": "5.41 kB"
}
},
"range": {
"esm": {
- "size": 3157,
- "formattedSize": "3.16 kB"
+ "size": 3173,
+ "formattedSize": "3.17 kB"
},
"cjs": {
- "size": 5390,
+ "size": 5395,
"formattedSize": "5.39 kB"
}
},
@@ -325,8 +325,8 @@
"formattedSize": "659 B"
},
"cjs": {
- "size": 5390,
- "formattedSize": "5.39 kB"
+ "size": 5399,
+ "formattedSize": "5.4 kB"
}
},
"sameDay": {
@@ -335,8 +335,8 @@
"formattedSize": "547 B"
},
"cjs": {
- "size": 5391,
- "formattedSize": "5.39 kB"
+ "size": 5402,
+ "formattedSize": "5.4 kB"
}
},
"sameHour": {
@@ -345,7 +345,7 @@
"formattedSize": "527 B"
},
"cjs": {
- "size": 5392,
+ "size": 5395,
"formattedSize": "5.39 kB"
}
},
@@ -355,8 +355,8 @@
"formattedSize": "531 B"
},
"cjs": {
- "size": 5391,
- "formattedSize": "5.39 kB"
+ "size": 5402,
+ "formattedSize": "5.4 kB"
}
},
"sameSecond": {
@@ -365,8 +365,8 @@
"formattedSize": "529 B"
},
"cjs": {
- "size": 5391,
- "formattedSize": "5.39 kB"
+ "size": 5402,
+ "formattedSize": "5.4 kB"
}
},
"sameYear": {
@@ -375,18 +375,18 @@
"formattedSize": "531 B"
},
"cjs": {
- "size": 5392,
- "formattedSize": "5.39 kB"
+ "size": 5402,
+ "formattedSize": "5.4 kB"
}
},
"tzDate": {
"esm": {
- "size": 965,
- "formattedSize": "965 B"
+ "size": 981,
+ "formattedSize": "981 B"
},
"cjs": {
- "size": 5393,
- "formattedSize": "5.39 kB"
+ "size": 5403,
+ "formattedSize": "5.4 kB"
}
},
"weekEnd": {
@@ -395,8 +395,8 @@
"formattedSize": "575 B"
},
"cjs": {
- "size": 5391,
- "formattedSize": "5.39 kB"
+ "size": 5400,
+ "formattedSize": "5.4 kB"
}
},
"weekStart": {
@@ -405,8 +405,8 @@
"formattedSize": "554 B"
},
"cjs": {
- "size": 5391,
- "formattedSize": "5.39 kB"
+ "size": 5397,
+ "formattedSize": "5.4 kB"
}
},
"yearDays": {
@@ -415,7 +415,7 @@
"formattedSize": "540 B"
},
"cjs": {
- "size": 5392,
+ "size": 5395,
"formattedSize": "5.39 kB"
}
},
@@ -425,8 +425,8 @@
"formattedSize": "532 B"
},
"cjs": {
- "size": 5391,
- "formattedSize": "5.39 kB"
+ "size": 5402,
+ "formattedSize": "5.4 kB"
}
},
"yearStart": {
@@ -435,20 +435,20 @@
"formattedSize": "524 B"
},
"cjs": {
- "size": 5390,
- "formattedSize": "5.39 kB"
+ "size": 5400,
+ "formattedSize": "5.4 kB"
}
},
"all esm": {
"esm": {
- "size": 5093,
- "formattedSize": "5.09 kB"
+ "size": 5103,
+ "formattedSize": "5.1 kB"
}
},
"all cjs": {
"cjs": {
- "size": 5382,
- "formattedSize": "5.38 kB"
+ "size": 5390,
+ "formattedSize": "5.39 kB"
}
}
}
\ No newline at end of file
diff --git a/docs/components/GithubLinkAndSize.vue b/docs/components/GithubLinkAndSize.vue
index 473377e..0c91a03 100644
--- a/docs/components/GithubLinkAndSize.vue
+++ b/docs/components/GithubLinkAndSize.vue
@@ -6,20 +6,19 @@ defineProps<{
-
diff --git a/docs/components/IconGitHub.vue b/docs/components/IconGitHub.vue
index b4e844e..1a3dd3f 100644
--- a/docs/components/IconGitHub.vue
+++ b/docs/components/IconGitHub.vue
@@ -3,14 +3,13 @@
width="16"
height="16"
viewBox="0 0 15 15"
- fill="none"
+ fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
>
Date
objects). ISO 8601 strings do not need to be complete to be accepted, but you need at least a year and month.`,
return: "Date",
arguments: [
@@ -163,7 +163,7 @@ const fns: Record<
tip: 'To produce a date in a given timezone either include the offset in the date string (ex: "2021-01-01T00:00:00-0800") or use the tzDate
function.',
},
dayEnd: {
- name: 'day-end',
+ name: "day-end",
description: `Returns a new Date object with the time set to 23:59:59.999 (local time).`,
return: "Date",
arguments: [
@@ -174,7 +174,7 @@ const fns: Record<
],
},
dayStart: {
- name: 'day-start',
+ name: "day-start",
description: `Returns a new Date object with the time set to 00:00:00.000 (local time).`,
return: "Date",
arguments: [
@@ -185,7 +185,7 @@ const fns: Record<
],
},
hourEnd: {
- name: 'hour-end',
+ name: "hour-end",
description: `Returns a new Date object with the minutes part of the time set to 59:59.999 (local time).`,
return: "Date",
arguments: [
@@ -196,7 +196,7 @@ const fns: Record<
],
},
hourStart: {
- name: 'hour-start',
+ name: "hour-start",
description: `Returns a new Date object with the minutes part of the time set to 00:00.000 (local time).`,
return: "Date",
arguments: [
@@ -207,7 +207,7 @@ const fns: Record<
],
},
minuteEnd: {
- name: 'minute-end',
+ name: "minute-end",
description: `Returns a new Date object with the seconds part of the time set to 59.999 (local time).`,
return: "Date",
arguments: [
@@ -218,7 +218,7 @@ const fns: Record<
],
},
minuteStart: {
- name: 'minute-start',
+ name: "minute-start",
description: `Returns a new Date object with the seconds part of the time set to 00.000 (local time).`,
return: "Date",
arguments: [
@@ -229,7 +229,7 @@ const fns: Record<
],
},
monthEnd: {
- name: 'month-end',
+ name: "month-end",
description: `Returns a new Date object with the date set to the last day of the current month (does not modify the time).`,
return: "Date",
arguments: [
@@ -240,7 +240,7 @@ const fns: Record<
],
},
monthStart: {
- name: 'month-start',
+ name: "month-start",
description: `Returns a new Date object with the date set to the first day of the current month and the time set to 00:00:00 (local).`,
return: "Date",
arguments: [
@@ -251,7 +251,7 @@ const fns: Record<
],
},
removeOffset: {
- name: 'remove-offset',
+ name: "remove-offset",
description: `Returns a new Date object with the inverse of the specified offset applied. This can be helpful to normalize time information across timezones.`,
return: "Date",
arguments: [
@@ -267,7 +267,7 @@ const fns: Record<
],
},
tzDate: {
- name: 'tz-date',
+ name: "tz-date",
description: `Converts an ISO 8601 like string into a Date object with a timezone applied. For example, tzDate('2021-01-01T00:00', 'America/Los_Angeles')
will return a Date object representing 2021-01-01 00:00 in L.A.`,
return: "Date",
arguments: [
@@ -284,7 +284,7 @@ const fns: Record<
example: "tzDate",
},
weekEnd: {
- name: 'week-end',
+ name: "week-end",
description: `Returns a new Date object with the date set to the last day of the current week with the time set to 23:59:59 (local).`,
return: "Date",
arguments: [
@@ -300,7 +300,7 @@ const fns: Record<
],
},
weekStart: {
- name: 'week-start',
+ name: "week-start",
description: `Returns a new Date object with the date set to the first day of the current week with the time set to 00:00:00 (local).`,
return: "Date",
arguments: [
@@ -316,8 +316,9 @@ const fns: Record<
],
},
yearEnd: {
- name: 'year-end',
- description: "Returns a new Date object with the date set to the end of the year",
+ name: "year-end",
+ description:
+ "Returns a new Date object with the date set to the end of the year",
return: "Date",
arguments: [
{
@@ -327,8 +328,9 @@ const fns: Record<
],
},
yearStart: {
- name: 'year-start',
- description: "Returns a new Date object with the date set to the start of the year",
+ name: "year-start",
+ description:
+ "Returns a new Date object with the date set to the start of the year",
return: "Date",
arguments: [
{
@@ -353,8 +355,10 @@ const fns: Record<