Ilyas Foo
c9752f1eaf
Fix analytics chart previous year data when date range includes 29 Feb ( #45874 )
...
* Temp commit
* Clean up unused codes and streamline logic
* More cleanups and add comment
* Better naming and fix logic
* Rename and comment
* Changelog
* Changelog
* Lint
* Moved leap year utils to date package, added tests
* Moved functions to utils, add tests
* Add more test
* Fix changelog
2024-05-30 12:54:00 +08:00
Ilyas Foo
98b32b5ecc
Fix getPreviousDate default behaviour to compare previous year ( #47951 )
...
* Add default compare previous_year and add tests
* Changelogs
2024-05-30 11:31:10 +08:00
Chi-Hsuan Huang
1f27a9e877
Revert " Temporarily commented out failing date package test due to the February 29th issue" ( #45239 )
...
Revert " Temporarily commented out failing date package test due to the Febru…"
This reverts commit b471e51734
.
2024-03-01 22:12:09 +08:00
Chi-Hsuan Huang
b471e51734
Temporarily commented out failing date package test due to the February 29th issue ( #45202 )
...
* Temporarily commented out a test due to February 29th issue
* Add changelog
* Fix lint
2024-02-29 11:23:45 +08:00
RJ
0190f4adea
fix: applied lint autofixes ( #39942 )
...
* woocommerce-admin lint fixes
* @woocommerce/* lint fixes
* Add changefile(s) from automation for the following project(s): @woocommerce/date, @woocommerce/data, @woocommerce/components, @woocommerce/admin-layout, woocommerce
* lints
---------
Co-authored-by: github-actions <github-actions@github.com>
2023-08-30 06:40:45 +08:00
Christopher Allford
67cde87fd1
Enforce Strict `@types` Dependencies ( #37351 )
2023-03-23 18:02:20 -07:00
Chi-Hsuan Huang
7068c78101
Fix JS lint errors ( #33484 )
...
* Fix @woocommerce/data lint errors
* Fix internal-e2e-builds lint error
* Fix lint errors
2022-06-21 16:37:34 +08:00
Chi-Hsuan Huang
6c4674fe9a
Update tests fail messages
2022-05-24 11:14:44 +08:00
Chi-Hsuan Huang
54d145a526
Update getCurrentDatesMemoized types
2022-05-23 14:07:22 +08:00
Chi-Hsuan Huang
b1b590c68c
Convert woo date to TS
2022-05-19 16:38:56 +08:00
Chi-Hsuan Huang
9fbe58833b
Update chartType check
2022-05-19 15:03:01 +08:00
Chi-Hsuan Huang
aebefa45c6
Change type check error to warn
2022-05-19 15:00:20 +08:00
Chi-Hsuan Huang
172a50cab0
Migrate @woocommerce/date to TS
2022-05-19 14:48:32 +08:00
RJChow
12a818c04d
Codemod to change i18n text domain from 'woocommerce-admin' to 'woocommerce' in JS packages
2022-04-01 11:41:32 +08:00
Christopher Allford
d2d8d78be1
Moved WCA Packages
...
This commit moves all of the packages in
`plugins/woocommerce-admin/packages` to their
new home in `packages/js`.
2022-03-18 14:25:26 -07:00