You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/assets
Vini Brasil 0cfbcedd84
Fix date picker shifting day bug (#2848)
* 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
4 years ago
..
css Refactor top stats and graph positioning (#2662) 4 years ago
js Fix date picker shifting day bug (#2848) 4 years ago
static Show user feedback form on server errors (#2617) 4 years ago
.babelrc React (#17) 7 years ago
.bundlemonrc.json Add remote config 5 years ago
.eslintrc.json Fix open state in combobox (#2797) 4 years ago
.prettierignore 1. Remove the "airbnb" eslint plugin since it conflicts with prettier (#1374) 5 years ago
.prettierrc.json Fix svg favicons (#2295) 4 years ago
.stylelintrc.json Add eslint, stylelint, prettier, and pre-commit (#484) 6 years ago
package-lock.json Bump json5 from 1.0.1 to 1.0.2 in /assets (#2569) 4 years ago
package.json Frontend timezone issues (#2810) 4 years ago
postcss.config.js Update TailwindCSS to 2.0 6 years ago
tailwind.config.js fix class name typo and include it in safelist (#2610) 4 years ago
webpack.config.js Refactor: Use HeadlessUI for search-select component (#2676) 4 years ago