Gazebo_simulation-Frontend/node_modules/date-fns
Riddhi Dave c586e2ed33 session update with django backend 2021-02-25 10:57:52 -05:00
..
_lib React files 2020-12-21 10:29:31 -05:00
add_days React files 2020-12-21 10:29:31 -05:00
add_hours React files 2020-12-21 10:29:31 -05:00
add_iso_years React files 2020-12-21 10:29:31 -05:00
add_milliseconds React files 2020-12-21 10:29:31 -05:00
add_minutes React files 2020-12-21 10:29:31 -05:00
add_months React files 2020-12-21 10:29:31 -05:00
add_quarters React files 2020-12-21 10:29:31 -05:00
add_seconds React files 2020-12-21 10:29:31 -05:00
add_weeks React files 2020-12-21 10:29:31 -05:00
add_years React files 2020-12-21 10:29:31 -05:00
are_ranges_overlapping React files 2020-12-21 10:29:31 -05:00
closest_index_to React files 2020-12-21 10:29:31 -05:00
closest_to React files 2020-12-21 10:29:31 -05:00
compare_asc React files 2020-12-21 10:29:31 -05:00
compare_desc React files 2020-12-21 10:29:31 -05:00
difference_in_calendar_days React files 2020-12-21 10:29:31 -05:00
difference_in_calendar_iso_weeks React files 2020-12-21 10:29:31 -05:00
difference_in_calendar_iso_years React files 2020-12-21 10:29:31 -05:00
difference_in_calendar_months React files 2020-12-21 10:29:31 -05:00
difference_in_calendar_quarters React files 2020-12-21 10:29:31 -05:00
difference_in_calendar_weeks React files 2020-12-21 10:29:31 -05:00
difference_in_calendar_years React files 2020-12-21 10:29:31 -05:00
difference_in_days React files 2020-12-21 10:29:31 -05:00
difference_in_hours React files 2020-12-21 10:29:31 -05:00
difference_in_iso_years React files 2020-12-21 10:29:31 -05:00
difference_in_milliseconds React files 2020-12-21 10:29:31 -05:00
difference_in_minutes React files 2020-12-21 10:29:31 -05:00
difference_in_months React files 2020-12-21 10:29:31 -05:00
difference_in_quarters React files 2020-12-21 10:29:31 -05:00
difference_in_seconds React files 2020-12-21 10:29:31 -05:00
difference_in_weeks React files 2020-12-21 10:29:31 -05:00
difference_in_years React files 2020-12-21 10:29:31 -05:00
distance_in_words React files 2020-12-21 10:29:31 -05:00
distance_in_words_strict React files 2020-12-21 10:29:31 -05:00
distance_in_words_to_now React files 2020-12-21 10:29:31 -05:00
each_day React files 2020-12-21 10:29:31 -05:00
end_of_day React files 2020-12-21 10:29:31 -05:00
end_of_hour React files 2020-12-21 10:29:31 -05:00
end_of_iso_week React files 2020-12-21 10:29:31 -05:00
end_of_iso_year React files 2020-12-21 10:29:31 -05:00
end_of_minute React files 2020-12-21 10:29:31 -05:00
end_of_month React files 2020-12-21 10:29:31 -05:00
end_of_quarter React files 2020-12-21 10:29:31 -05:00
end_of_second React files 2020-12-21 10:29:31 -05:00
end_of_today React files 2020-12-21 10:29:31 -05:00
end_of_tomorrow React files 2020-12-21 10:29:31 -05:00
end_of_week React files 2020-12-21 10:29:31 -05:00
end_of_year React files 2020-12-21 10:29:31 -05:00
end_of_yesterday React files 2020-12-21 10:29:31 -05:00
format React files 2020-12-21 10:29:31 -05:00
get_date React files 2020-12-21 10:29:31 -05:00
get_day React files 2020-12-21 10:29:31 -05:00
get_day_of_year React files 2020-12-21 10:29:31 -05:00
get_days_in_month React files 2020-12-21 10:29:31 -05:00
get_days_in_year React files 2020-12-21 10:29:31 -05:00
get_hours React files 2020-12-21 10:29:31 -05:00
get_iso_day React files 2020-12-21 10:29:31 -05:00
get_iso_week React files 2020-12-21 10:29:31 -05:00
get_iso_weeks_in_year React files 2020-12-21 10:29:31 -05:00
get_iso_year React files 2020-12-21 10:29:31 -05:00
get_milliseconds React files 2020-12-21 10:29:31 -05:00
get_minutes React files 2020-12-21 10:29:31 -05:00
get_month React files 2020-12-21 10:29:31 -05:00
get_overlapping_days_in_ranges React files 2020-12-21 10:29:31 -05:00
get_quarter React files 2020-12-21 10:29:31 -05:00
get_seconds React files 2020-12-21 10:29:31 -05:00
get_time React files 2020-12-21 10:29:31 -05:00
get_year React files 2020-12-21 10:29:31 -05:00
is_after React files 2020-12-21 10:29:31 -05:00
is_before React files 2020-12-21 10:29:31 -05:00
is_date React files 2020-12-21 10:29:31 -05:00
is_equal React files 2020-12-21 10:29:31 -05:00
is_first_day_of_month React files 2020-12-21 10:29:31 -05:00
is_friday React files 2020-12-21 10:29:31 -05:00
is_future React files 2020-12-21 10:29:31 -05:00
is_last_day_of_month React files 2020-12-21 10:29:31 -05:00
is_leap_year React files 2020-12-21 10:29:31 -05:00
is_monday React files 2020-12-21 10:29:31 -05:00
is_past React files 2020-12-21 10:29:31 -05:00
is_same_day React files 2020-12-21 10:29:31 -05:00
is_same_hour React files 2020-12-21 10:29:31 -05:00
is_same_iso_week React files 2020-12-21 10:29:31 -05:00
is_same_iso_year React files 2020-12-21 10:29:31 -05:00
is_same_minute React files 2020-12-21 10:29:31 -05:00
is_same_month React files 2020-12-21 10:29:31 -05:00
is_same_quarter React files 2020-12-21 10:29:31 -05:00
is_same_second React files 2020-12-21 10:29:31 -05:00
is_same_week React files 2020-12-21 10:29:31 -05:00
is_same_year React files 2020-12-21 10:29:31 -05:00
is_saturday React files 2020-12-21 10:29:31 -05:00
is_sunday React files 2020-12-21 10:29:31 -05:00
is_this_hour React files 2020-12-21 10:29:31 -05:00
is_this_iso_week React files 2020-12-21 10:29:31 -05:00
is_this_iso_year React files 2020-12-21 10:29:31 -05:00
is_this_minute React files 2020-12-21 10:29:31 -05:00
is_this_month React files 2020-12-21 10:29:31 -05:00
is_this_quarter React files 2020-12-21 10:29:31 -05:00
is_this_second React files 2020-12-21 10:29:31 -05:00
is_this_week React files 2020-12-21 10:29:31 -05:00
is_this_year React files 2020-12-21 10:29:31 -05:00
is_thursday React files 2020-12-21 10:29:31 -05:00
is_today React files 2020-12-21 10:29:31 -05:00
is_tomorrow React files 2020-12-21 10:29:31 -05:00
is_tuesday React files 2020-12-21 10:29:31 -05:00
is_valid React files 2020-12-21 10:29:31 -05:00
is_wednesday React files 2020-12-21 10:29:31 -05:00
is_weekend React files 2020-12-21 10:29:31 -05:00
is_within_range React files 2020-12-21 10:29:31 -05:00
is_yesterday React files 2020-12-21 10:29:31 -05:00
last_day_of_iso_week React files 2020-12-21 10:29:31 -05:00
last_day_of_iso_year React files 2020-12-21 10:29:31 -05:00
last_day_of_month React files 2020-12-21 10:29:31 -05:00
last_day_of_quarter React files 2020-12-21 10:29:31 -05:00
last_day_of_week React files 2020-12-21 10:29:31 -05:00
last_day_of_year React files 2020-12-21 10:29:31 -05:00
locale React files 2020-12-21 10:29:31 -05:00
max React files 2020-12-21 10:29:31 -05:00
min React files 2020-12-21 10:29:31 -05:00
parse React files 2020-12-21 10:29:31 -05:00
set_date React files 2020-12-21 10:29:31 -05:00
set_day React files 2020-12-21 10:29:31 -05:00
set_day_of_year React files 2020-12-21 10:29:31 -05:00
set_hours React files 2020-12-21 10:29:31 -05:00
set_iso_day React files 2020-12-21 10:29:31 -05:00
set_iso_week React files 2020-12-21 10:29:31 -05:00
set_iso_year React files 2020-12-21 10:29:31 -05:00
set_milliseconds React files 2020-12-21 10:29:31 -05:00
set_minutes React files 2020-12-21 10:29:31 -05:00
set_month React files 2020-12-21 10:29:31 -05:00
set_quarter React files 2020-12-21 10:29:31 -05:00
set_seconds React files 2020-12-21 10:29:31 -05:00
set_year React files 2020-12-21 10:29:31 -05:00
start_of_day React files 2020-12-21 10:29:31 -05:00
start_of_hour React files 2020-12-21 10:29:31 -05:00
start_of_iso_week React files 2020-12-21 10:29:31 -05:00
start_of_iso_year React files 2020-12-21 10:29:31 -05:00
start_of_minute React files 2020-12-21 10:29:31 -05:00
start_of_month React files 2020-12-21 10:29:31 -05:00
start_of_quarter React files 2020-12-21 10:29:31 -05:00
start_of_second React files 2020-12-21 10:29:31 -05:00
start_of_today React files 2020-12-21 10:29:31 -05:00
start_of_tomorrow React files 2020-12-21 10:29:31 -05:00
start_of_week React files 2020-12-21 10:29:31 -05:00
start_of_year React files 2020-12-21 10:29:31 -05:00
start_of_yesterday React files 2020-12-21 10:29:31 -05:00
sub_days React files 2020-12-21 10:29:31 -05:00
sub_hours React files 2020-12-21 10:29:31 -05:00
sub_iso_years React files 2020-12-21 10:29:31 -05:00
sub_milliseconds React files 2020-12-21 10:29:31 -05:00
sub_minutes React files 2020-12-21 10:29:31 -05:00
sub_months React files 2020-12-21 10:29:31 -05:00
sub_quarters React files 2020-12-21 10:29:31 -05:00
sub_seconds React files 2020-12-21 10:29:31 -05:00
sub_weeks React files 2020-12-21 10:29:31 -05:00
sub_years React files 2020-12-21 10:29:31 -05:00
CHANGELOG.md React files 2020-12-21 10:29:31 -05:00
LICENSE.md React files 2020-12-21 10:29:31 -05:00
README.md React files 2020-12-21 10:29:31 -05:00
docs.json React files 2020-12-21 10:29:31 -05:00
index.js React files 2020-12-21 10:29:31 -05:00
package.json session update with django backend 2021-02-25 10:57:52 -05:00
typings.d.ts React files 2020-12-21 10:29:31 -05:00

README.md

date-fns

Pinned: see a brief comparison with Moment.js.

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

date-fns is like lodash for dates. It has 140+ functions for all occasions.

dateFns.format(new Date(2014, 1, 11), 'MM/DD/YYYY')
//=> '02/11/2014'

var dates = [new Date(1995, 6, 2), new Date(1987, 1, 11), new Date(1989, 6, 10)]
dates.sort(dateFns.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, a Bower package. To install a package run:

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

Also, you can simply download the library from the releases page.

Docs

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

License

MIT © Sasha Koss