1.2 KiB
1.2 KiB
3.0.0
- Take into account leap year in calculating
getLastPeriod
.
Breaking changes
- Move Lodash to a peer dependency.
2.1.0
- Update to @wordpress/eslint coding standards.
2.0.0
Breaking changes
- Decouple from global wcSettings object (#3278)
- Exported methods of the date package have been rewritten to accept a configuration object as their second parameter.
loadLocaleData
is no longer called within the date package. Consuming code must take care of that themselves.
1.2.1
- Update dependencies.
1.2.0
- Enhancement: gather default date settings from
wcSettings.wcAdminSettings.woocommerce_default_date_range
if they exist. - Update license to GPL-3.0-or-later.
1.0.7
- Change text domain on i18n functions.
- Bump dependency versions.
1.0.6
- Removed timezone from
appendTimestamp()
output.
1.0.5
- Fixed bug in getAllowedIntervalsForQuery() to not return
hour
for default intervals
1.0.4
- Remove deprecated @wordpress/date::getSettings() usage.
1.0.3
- Fix missing comma seperator in date inside tooltips.
1.0.2
- Add
getChartTypeForQuery
function to ensure chart type is alwaysbar
orline