sundial v1.7.4
Sundial datetime wrapper
The tidepool platform stores timestamps as ISO8601 timestamp with a timezone.
The purposes of this library are:
- Wrap the management of dates and times to insulate us from the specific mechanism
- Provide consistency for date operations
- Provide consistency for date and time formats
NB: In order to ensure the first goal above, no methods in the wrapper return anything but 'pure' JavaScript data types. Strings, numbers, and JavaScript Date objects are expected; 'moment' objects (via Moment.js) are not allowed.
Usage
Install with:
$ npm install --save sundial
Use in Node.js, or client-side with Webpack or Browserify:
var sundial = require('sundial');
Test
Run unit tests with:
$ npm test
Run the tests in-browser locally with:
$ npm run browser-tests
28 days ago
1 month ago
1 month ago
1 month ago
2 months ago
4 months ago
6 months ago
6 months ago
9 months ago
10 months ago
2 years ago
2 years ago
3 years ago
8 years ago
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago