woocommerce/plugins/woocommerce-admin/packages/date
Jeff Stieler 9469663379 Decouple date package from `wcSettings`. (https://github.com/woocommerce/woocommerce-admin/pull/3278)
* Decouple date package from wcSettings.

* Update missed documentation and example.

* Expect simpler prop values for date filter.

* Remove unused props from primary/secondary dates.

* Avoid introducing moment dependency for type checking.

* Handle null moment/date values in DateRangeFilterPicker.

* Fix missing ISO date format.

* Fix moment instance detection.
2019-11-26 14:39:40 -05:00
..
src Decouple date package from `wcSettings`. (https://github.com/woocommerce/woocommerce-admin/pull/3278) 2019-11-26 14:39:40 -05:00
test Decouple date package from `wcSettings`. (https://github.com/woocommerce/woocommerce-admin/pull/3278) 2019-11-26 14:39:40 -05:00
.npmrc Try: Add Lerna to split out utility packages (https://github.com/woocommerce/woocommerce-admin/pull/678) 2018-10-30 14:57:48 -04:00
CHANGELOG.md Decouple date package from `wcSettings`. (https://github.com/woocommerce/woocommerce-admin/pull/3278) 2019-11-26 14:39:40 -05:00
README.md Try: Add Lerna to split out utility packages (https://github.com/woocommerce/woocommerce-admin/pull/678) 2018-10-30 14:57:48 -04:00
package.json Update babel monorepo (https://github.com/woocommerce/woocommerce-admin/pull/3177) 2019-11-11 11:05:50 +01:00

README.md

Date

A collection of utilities to display and work with date values.

Installation

Install the module

npm install @woocommerce/date --save

This package assumes that your code will run in an ES2015+ environment. If you're using an environment that has limited or no support for ES2015+ such as lower versions of IE then using core-js or @babel/polyfill will add support for these methods. Learn more about it in Babel docs.

Usage