mirror of
https://github.com/plausible/analytics.git
synced 2024-12-24 01:54:34 +03:00
0cfbcedd84
* Fix date picker shifting day bug This commit fixes a bug where picking a specific date in custom range takes you to the stats of the day before. This was caused because Flatpickr returns a Date instance, and we were trying to parse this Date instance into day.js using the `utc` function, assuming it was a ISO-8601 string. This commit fixes it by casting Date into dayjs using the `dayjs` function instead of `utc`. * Fix invalid date Flatpickr bug This commit fixes a bug where the Flatpickr was not setting the minDate correctly based on statsBegin. This was failing because parseUTCDate is now returning a day.js instance, and Flatpickr cannot handle that type. * Hide dayjs usage in util/date |
||
---|---|---|
.. | ||
css | ||
js | ||
static | ||
.babelrc | ||
.bundlemonrc.json | ||
.eslintrc.json | ||
.prettierignore | ||
.prettierrc.json | ||
.stylelintrc.json | ||
package-lock.json | ||
package.json | ||
postcss.config.js | ||
tailwind.config.js | ||
webpack.config.js |