Package Exports
- date-fns/package.json
- date-fns/src/start_of_day
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (date-fns) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
date-fns
Date helpers in function-per-file style.
API
[startOfDay](./src/start_of_day.js)
Example:
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)'