80fe765657
* Use a date instead of hour for single dates in report tables * Add hour to allowed list when day difference is less than 1 * Prioritize hour format over day and set day as default for tables * Add default intervals for report tables * Use explicit date format in report tables * Add constant for default table format * Restore allowed intervals for >1 && <7 days |
||
---|---|---|
.. | ||
src | ||
test | ||
.npmrc | ||
CHANGELOG.md | ||
README.md | ||
package.json |
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.