Comparing version 0.1.0 to 0.2.0
# Changelog | ||
## v0.2.0 (6 Oct 2014) | ||
* Additions: | ||
- `isToday` | ||
- `isWeekend` | ||
## v0.1.0 (6 Oct 2014) | ||
* `startOfDay` | ||
* Additions: | ||
- `startOfDay` | ||
{ | ||
"name": "date-fns", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"author": "Sasha Koss <kossnocorp@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "Date helpers", |
@@ -7,11 +7,7 @@ # date-fns | ||
### `[startOfDay](./src/start_of_day.js)` | ||
Code is fully documented, checkout source for reference. | ||
Example: | ||
* [`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 day for passed date; | ||
``` js | ||
var startOfDay = require('date-fns/start_of_day'); | ||
startOfDay(new Date('2014-09-02T11:55:00')) | ||
//=> 'Tue Sep 02 2014 00:00:00 GMT+0400 (MSK)' | ||
``` | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5636
14
117
13