rittenhop-dev/versions/5.94.2/node_modules/date-fns
2024-09-23 19:40:12 -04:00
..
_lib first commit 2024-09-23 19:40:12 -04:00
add first commit 2024-09-23 19:40:12 -04:00
addBusinessDays first commit 2024-09-23 19:40:12 -04:00
addDays first commit 2024-09-23 19:40:12 -04:00
addHours first commit 2024-09-23 19:40:12 -04:00
addISOWeekYears first commit 2024-09-23 19:40:12 -04:00
addMilliseconds first commit 2024-09-23 19:40:12 -04:00
addMinutes first commit 2024-09-23 19:40:12 -04:00
addMonths first commit 2024-09-23 19:40:12 -04:00
addQuarters first commit 2024-09-23 19:40:12 -04:00
addSeconds first commit 2024-09-23 19:40:12 -04:00
addWeeks first commit 2024-09-23 19:40:12 -04:00
addYears first commit 2024-09-23 19:40:12 -04:00
areIntervalsOverlapping first commit 2024-09-23 19:40:12 -04:00
clamp first commit 2024-09-23 19:40:12 -04:00
closestIndexTo first commit 2024-09-23 19:40:12 -04:00
closestTo first commit 2024-09-23 19:40:12 -04:00
compareAsc first commit 2024-09-23 19:40:12 -04:00
compareDesc first commit 2024-09-23 19:40:12 -04:00
constants first commit 2024-09-23 19:40:12 -04:00
daysToWeeks first commit 2024-09-23 19:40:12 -04:00
differenceInBusinessDays first commit 2024-09-23 19:40:12 -04:00
differenceInCalendarDays first commit 2024-09-23 19:40:12 -04:00
differenceInCalendarISOWeeks first commit 2024-09-23 19:40:12 -04:00
differenceInCalendarISOWeekYears first commit 2024-09-23 19:40:12 -04:00
differenceInCalendarMonths first commit 2024-09-23 19:40:12 -04:00
differenceInCalendarQuarters first commit 2024-09-23 19:40:12 -04:00
differenceInCalendarWeeks first commit 2024-09-23 19:40:12 -04:00
differenceInCalendarYears first commit 2024-09-23 19:40:12 -04:00
differenceInDays first commit 2024-09-23 19:40:12 -04:00
differenceInHours first commit 2024-09-23 19:40:12 -04:00
differenceInISOWeekYears first commit 2024-09-23 19:40:12 -04:00
differenceInMilliseconds first commit 2024-09-23 19:40:12 -04:00
differenceInMinutes first commit 2024-09-23 19:40:12 -04:00
differenceInMonths first commit 2024-09-23 19:40:12 -04:00
differenceInQuarters first commit 2024-09-23 19:40:12 -04:00
differenceInSeconds first commit 2024-09-23 19:40:12 -04:00
differenceInWeeks first commit 2024-09-23 19:40:12 -04:00
differenceInYears first commit 2024-09-23 19:40:12 -04:00
docs first commit 2024-09-23 19:40:12 -04:00
eachDayOfInterval first commit 2024-09-23 19:40:12 -04:00
eachHourOfInterval first commit 2024-09-23 19:40:12 -04:00
eachMinuteOfInterval first commit 2024-09-23 19:40:12 -04:00
eachMonthOfInterval first commit 2024-09-23 19:40:12 -04:00
eachQuarterOfInterval first commit 2024-09-23 19:40:12 -04:00
eachWeekendOfInterval first commit 2024-09-23 19:40:12 -04:00
eachWeekendOfMonth first commit 2024-09-23 19:40:12 -04:00
eachWeekendOfYear first commit 2024-09-23 19:40:12 -04:00
eachWeekOfInterval first commit 2024-09-23 19:40:12 -04:00
eachYearOfInterval first commit 2024-09-23 19:40:12 -04:00
endOfDay first commit 2024-09-23 19:40:12 -04:00
endOfDecade first commit 2024-09-23 19:40:12 -04:00
endOfHour first commit 2024-09-23 19:40:12 -04:00
endOfISOWeek first commit 2024-09-23 19:40:12 -04:00
endOfISOWeekYear first commit 2024-09-23 19:40:12 -04:00
endOfMinute first commit 2024-09-23 19:40:12 -04:00
endOfMonth first commit 2024-09-23 19:40:12 -04:00
endOfQuarter first commit 2024-09-23 19:40:12 -04:00
endOfSecond first commit 2024-09-23 19:40:12 -04:00
endOfToday first commit 2024-09-23 19:40:12 -04:00
endOfTomorrow first commit 2024-09-23 19:40:12 -04:00
endOfWeek first commit 2024-09-23 19:40:12 -04:00
endOfYear first commit 2024-09-23 19:40:12 -04:00
endOfYesterday first commit 2024-09-23 19:40:12 -04:00
esm first commit 2024-09-23 19:40:12 -04:00
format first commit 2024-09-23 19:40:12 -04:00
formatDistance first commit 2024-09-23 19:40:12 -04:00
formatDistanceStrict first commit 2024-09-23 19:40:12 -04:00
formatDistanceToNow first commit 2024-09-23 19:40:12 -04:00
formatDistanceToNowStrict first commit 2024-09-23 19:40:12 -04:00
formatDuration first commit 2024-09-23 19:40:12 -04:00
formatISO first commit 2024-09-23 19:40:12 -04:00
formatISO9075 first commit 2024-09-23 19:40:12 -04:00
formatISODuration first commit 2024-09-23 19:40:12 -04:00
formatRelative first commit 2024-09-23 19:40:12 -04:00
formatRFC3339 first commit 2024-09-23 19:40:12 -04:00
formatRFC7231 first commit 2024-09-23 19:40:12 -04:00
fp first commit 2024-09-23 19:40:12 -04:00
fromUnixTime first commit 2024-09-23 19:40:12 -04:00
getDate first commit 2024-09-23 19:40:12 -04:00
getDay first commit 2024-09-23 19:40:12 -04:00
getDayOfYear first commit 2024-09-23 19:40:12 -04:00
getDaysInMonth first commit 2024-09-23 19:40:12 -04:00
getDaysInYear first commit 2024-09-23 19:40:12 -04:00
getDecade first commit 2024-09-23 19:40:12 -04:00
getDefaultOptions first commit 2024-09-23 19:40:12 -04:00
getHours first commit 2024-09-23 19:40:12 -04:00
getISODay first commit 2024-09-23 19:40:12 -04:00
getISOWeek first commit 2024-09-23 19:40:12 -04:00
getISOWeeksInYear first commit 2024-09-23 19:40:12 -04:00
getISOWeekYear first commit 2024-09-23 19:40:12 -04:00
getMilliseconds first commit 2024-09-23 19:40:12 -04:00
getMinutes first commit 2024-09-23 19:40:12 -04:00
getMonth first commit 2024-09-23 19:40:12 -04:00
getOverlappingDaysInIntervals first commit 2024-09-23 19:40:12 -04:00
getQuarter first commit 2024-09-23 19:40:12 -04:00
getSeconds first commit 2024-09-23 19:40:12 -04:00
getTime first commit 2024-09-23 19:40:12 -04:00
getUnixTime first commit 2024-09-23 19:40:12 -04:00
getWeek first commit 2024-09-23 19:40:12 -04:00
getWeekOfMonth first commit 2024-09-23 19:40:12 -04:00
getWeeksInMonth first commit 2024-09-23 19:40:12 -04:00
getWeekYear first commit 2024-09-23 19:40:12 -04:00
getYear first commit 2024-09-23 19:40:12 -04:00
hoursToMilliseconds first commit 2024-09-23 19:40:12 -04:00
hoursToMinutes first commit 2024-09-23 19:40:12 -04:00
hoursToSeconds first commit 2024-09-23 19:40:12 -04:00
intervalToDuration first commit 2024-09-23 19:40:12 -04:00
intlFormat first commit 2024-09-23 19:40:12 -04:00
intlFormatDistance first commit 2024-09-23 19:40:12 -04:00
isAfter first commit 2024-09-23 19:40:12 -04:00
isBefore first commit 2024-09-23 19:40:12 -04:00
isDate first commit 2024-09-23 19:40:12 -04:00
isEqual first commit 2024-09-23 19:40:12 -04:00
isExists first commit 2024-09-23 19:40:12 -04:00
isFirstDayOfMonth first commit 2024-09-23 19:40:12 -04:00
isFriday first commit 2024-09-23 19:40:12 -04:00
isFuture first commit 2024-09-23 19:40:12 -04:00
isLastDayOfMonth first commit 2024-09-23 19:40:12 -04:00
isLeapYear first commit 2024-09-23 19:40:12 -04:00
isMatch first commit 2024-09-23 19:40:12 -04:00
isMonday first commit 2024-09-23 19:40:12 -04:00
isPast first commit 2024-09-23 19:40:12 -04:00
isSameDay first commit 2024-09-23 19:40:12 -04:00
isSameHour first commit 2024-09-23 19:40:12 -04:00
isSameISOWeek first commit 2024-09-23 19:40:12 -04:00
isSameISOWeekYear first commit 2024-09-23 19:40:12 -04:00
isSameMinute first commit 2024-09-23 19:40:12 -04:00
isSameMonth first commit 2024-09-23 19:40:12 -04:00
isSameQuarter first commit 2024-09-23 19:40:12 -04:00
isSameSecond first commit 2024-09-23 19:40:12 -04:00
isSameWeek first commit 2024-09-23 19:40:12 -04:00
isSameYear first commit 2024-09-23 19:40:12 -04:00
isSaturday first commit 2024-09-23 19:40:12 -04:00
isSunday first commit 2024-09-23 19:40:12 -04:00
isThisHour first commit 2024-09-23 19:40:12 -04:00
isThisISOWeek first commit 2024-09-23 19:40:12 -04:00
isThisMinute first commit 2024-09-23 19:40:12 -04:00
isThisMonth first commit 2024-09-23 19:40:12 -04:00
isThisQuarter first commit 2024-09-23 19:40:12 -04:00
isThisSecond first commit 2024-09-23 19:40:12 -04:00
isThisWeek first commit 2024-09-23 19:40:12 -04:00
isThisYear first commit 2024-09-23 19:40:12 -04:00
isThursday first commit 2024-09-23 19:40:12 -04:00
isToday first commit 2024-09-23 19:40:12 -04:00
isTomorrow first commit 2024-09-23 19:40:12 -04:00
isTuesday first commit 2024-09-23 19:40:12 -04:00
isValid first commit 2024-09-23 19:40:12 -04:00
isWednesday first commit 2024-09-23 19:40:12 -04:00
isWeekend first commit 2024-09-23 19:40:12 -04:00
isWithinInterval first commit 2024-09-23 19:40:12 -04:00
isYesterday first commit 2024-09-23 19:40:12 -04:00
lastDayOfDecade first commit 2024-09-23 19:40:12 -04:00
lastDayOfISOWeek first commit 2024-09-23 19:40:12 -04:00
lastDayOfISOWeekYear first commit 2024-09-23 19:40:12 -04:00
lastDayOfMonth first commit 2024-09-23 19:40:12 -04:00
lastDayOfQuarter first commit 2024-09-23 19:40:12 -04:00
lastDayOfWeek first commit 2024-09-23 19:40:12 -04:00
lastDayOfYear first commit 2024-09-23 19:40:12 -04:00
lightFormat first commit 2024-09-23 19:40:12 -04:00
locale first commit 2024-09-23 19:40:12 -04:00
max first commit 2024-09-23 19:40:12 -04:00
milliseconds first commit 2024-09-23 19:40:12 -04:00
millisecondsToHours first commit 2024-09-23 19:40:12 -04:00
millisecondsToMinutes first commit 2024-09-23 19:40:12 -04:00
millisecondsToSeconds first commit 2024-09-23 19:40:12 -04:00
min first commit 2024-09-23 19:40:12 -04:00
minutesToHours first commit 2024-09-23 19:40:12 -04:00
minutesToMilliseconds first commit 2024-09-23 19:40:12 -04:00
minutesToSeconds first commit 2024-09-23 19:40:12 -04:00
monthsToQuarters first commit 2024-09-23 19:40:12 -04:00
monthsToYears first commit 2024-09-23 19:40:12 -04:00
nextDay first commit 2024-09-23 19:40:12 -04:00
nextFriday first commit 2024-09-23 19:40:12 -04:00
nextMonday first commit 2024-09-23 19:40:12 -04:00
nextSaturday first commit 2024-09-23 19:40:12 -04:00
nextSunday first commit 2024-09-23 19:40:12 -04:00
nextThursday first commit 2024-09-23 19:40:12 -04:00
nextTuesday first commit 2024-09-23 19:40:12 -04:00
nextWednesday first commit 2024-09-23 19:40:12 -04:00
parse first commit 2024-09-23 19:40:12 -04:00
parseISO first commit 2024-09-23 19:40:12 -04:00
parseJSON first commit 2024-09-23 19:40:12 -04:00
previousDay first commit 2024-09-23 19:40:12 -04:00
previousFriday first commit 2024-09-23 19:40:12 -04:00
previousMonday first commit 2024-09-23 19:40:12 -04:00
previousSaturday first commit 2024-09-23 19:40:12 -04:00
previousSunday first commit 2024-09-23 19:40:12 -04:00
previousThursday first commit 2024-09-23 19:40:12 -04:00
previousTuesday first commit 2024-09-23 19:40:12 -04:00
previousWednesday first commit 2024-09-23 19:40:12 -04:00
quartersToMonths first commit 2024-09-23 19:40:12 -04:00
quartersToYears first commit 2024-09-23 19:40:12 -04:00
roundToNearestMinutes first commit 2024-09-23 19:40:12 -04:00
secondsToHours first commit 2024-09-23 19:40:12 -04:00
secondsToMilliseconds first commit 2024-09-23 19:40:12 -04:00
secondsToMinutes first commit 2024-09-23 19:40:12 -04:00
set first commit 2024-09-23 19:40:12 -04:00
setDate first commit 2024-09-23 19:40:12 -04:00
setDay first commit 2024-09-23 19:40:12 -04:00
setDayOfYear first commit 2024-09-23 19:40:12 -04:00
setDefaultOptions first commit 2024-09-23 19:40:12 -04:00
setHours first commit 2024-09-23 19:40:12 -04:00
setISODay first commit 2024-09-23 19:40:12 -04:00
setISOWeek first commit 2024-09-23 19:40:12 -04:00
setISOWeekYear first commit 2024-09-23 19:40:12 -04:00
setMilliseconds first commit 2024-09-23 19:40:12 -04:00
setMinutes first commit 2024-09-23 19:40:12 -04:00
setMonth first commit 2024-09-23 19:40:12 -04:00
setQuarter first commit 2024-09-23 19:40:12 -04:00
setSeconds first commit 2024-09-23 19:40:12 -04:00
setWeek first commit 2024-09-23 19:40:12 -04:00
setWeekYear first commit 2024-09-23 19:40:12 -04:00
setYear first commit 2024-09-23 19:40:12 -04:00
startOfDay first commit 2024-09-23 19:40:12 -04:00
startOfDecade first commit 2024-09-23 19:40:12 -04:00
startOfHour first commit 2024-09-23 19:40:12 -04:00
startOfISOWeek first commit 2024-09-23 19:40:12 -04:00
startOfISOWeekYear first commit 2024-09-23 19:40:12 -04:00
startOfMinute first commit 2024-09-23 19:40:12 -04:00
startOfMonth first commit 2024-09-23 19:40:12 -04:00
startOfQuarter first commit 2024-09-23 19:40:12 -04:00
startOfSecond first commit 2024-09-23 19:40:12 -04:00
startOfToday first commit 2024-09-23 19:40:12 -04:00
startOfTomorrow first commit 2024-09-23 19:40:12 -04:00
startOfWeek first commit 2024-09-23 19:40:12 -04:00
startOfWeekYear first commit 2024-09-23 19:40:12 -04:00
startOfYear first commit 2024-09-23 19:40:12 -04:00
startOfYesterday first commit 2024-09-23 19:40:12 -04:00
sub first commit 2024-09-23 19:40:12 -04:00
subBusinessDays first commit 2024-09-23 19:40:12 -04:00
subDays first commit 2024-09-23 19:40:12 -04:00
subHours first commit 2024-09-23 19:40:12 -04:00
subISOWeekYears first commit 2024-09-23 19:40:12 -04:00
subMilliseconds first commit 2024-09-23 19:40:12 -04:00
subMinutes first commit 2024-09-23 19:40:12 -04:00
subMonths first commit 2024-09-23 19:40:12 -04:00
subQuarters first commit 2024-09-23 19:40:12 -04:00
subSeconds first commit 2024-09-23 19:40:12 -04:00
subWeeks first commit 2024-09-23 19:40:12 -04:00
subYears first commit 2024-09-23 19:40:12 -04:00
toDate first commit 2024-09-23 19:40:12 -04:00
weeksToDays first commit 2024-09-23 19:40:12 -04:00
yearsToMonths first commit 2024-09-23 19:40:12 -04:00
yearsToQuarters first commit 2024-09-23 19:40:12 -04:00
CHANGELOG.md first commit 2024-09-23 19:40:12 -04:00
index.js first commit 2024-09-23 19:40:12 -04:00
index.js.flow first commit 2024-09-23 19:40:12 -04:00
LICENSE.md first commit 2024-09-23 19:40:12 -04:00
package.json first commit 2024-09-23 19:40:12 -04:00
README.md first commit 2024-09-23 19:40:12 -04:00
types.js first commit 2024-09-23 19:40:12 -04:00
typings.d.ts first commit 2024-09-23 19:40:12 -04:00

date-fns

date-fns provides the most comprehensive, yet simple and consistent toolset
for manipulating JavaScript dates in a browser & Node.js.


It's like Lodash for dates

  • It has 200+ functions for all occasions.
  • Modular: Pick what you need. Works with webpack, Browserify, or Rollup and also supports tree-shaking.
  • Native dates: Uses existing native type. It doesn't extend core objects for safety's sake.
  • Immutable & Pure: Built using pure functions and always returns a new date instance.
  • TypeScript & Flow: Supports both Flow and TypeScript
  • I18n: Dozens of locales. Include only what you need.
  • and many more benefits
import { compareAsc, format } from 'date-fns'

format(new Date(2014, 1, 11), 'yyyy-MM-dd')
//=> '2014-02-11'

const dates = [
  new Date(1995, 6, 2),
  new Date(1987, 1, 11),
  new Date(1989, 6, 10),
]
dates.sort(compareAsc)
//=> [
//   Wed Feb 11 1987 00:00:00,
//   Mon Jul 10 1989 00:00:00,
//   Sun Jul 02 1995 00:00:00
// ]

The library is available as an npm package. To install the package run:

npm install date-fns --save
# or with yarn
yarn add date-fns

Docs

See date-fns.org for more details, API, and other docs.


License

MIT © Sasha Koss