Socket
Socket
Sign inDemoInstall

date-fns

Package Overview
Dependencies
Maintainers
1
Versions
204
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

date-fns - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

src/__tests__/each_day_test.js

7

CHANGELOG.md
# Changelog
## v0.4.0 (7 Oct 2014)
* Additions:
- `startOfWeek`
- `endOfWeek`
- `eachDay`
## v0.3.0 (6 Oct 2014)

@@ -4,0 +11,0 @@

2

package.json
{
"name": "date-fns",
"version": "0.3.0",
"version": "0.4.0",
"author": "Sasha Koss <kossnocorp@gmail.com>",

@@ -5,0 +5,0 @@ "description": "Date helpers",

@@ -9,8 +9,11 @@ # date-fns

* [`isWeekend`](./src/is_weekend.js) - is passed date is weekend?;
* [`isToday`](./src/is_today.js) - is passed date is today?;
* [`startOfDay`](./src/start_of_day.js) - returns start of a day for passed date;
* [`endOfDay`](./src/end_of_day.js) - returns end of a day for passed date;
* [`startOfMonth`](./src/start_of_month.js) - returns start of a month for passed date;
* [`endOfMonth`](./src/end_of_month.js) - returns end of a month for passed date;
* [`isWeekend`](./src/is_weekend.js) - is passed date is weekend?
* [`isToday`](./src/is_today.js) - is passed date is today?
* [`startOfDay`](./src/start_of_day.js) - returns start of a day for passed date
* [`endOfDay`](./src/end_of_day.js) - returns end of a day for passed date
* [`startOfWeek`](./src/start_of_week.js) - returns start of a week for passed date
* [`endOfWeek`](./src/end_of_week.js) - returns end of a week for passed date
* [`startOfMonth`](./src/start_of_month.js) - returns start of a month for passed date
* [`endOfMonth`](./src/end_of_month.js) - returns end of a month for passed date
* [`eachDay`](./src/each_day) - returns array of dates within specified range
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc