mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 15:17:23 +01:00
fix retention report invalid date
This commit is contained in:
parent
2c18cca3cd
commit
7582670aef
2 changed files with 6 additions and 4 deletions
|
|
@ -52,7 +52,7 @@ export function RetentionTable({ days = DAYS }) {
|
|||
{rows.map(({ date, visitors, records }, rowIndex) => {
|
||||
return (
|
||||
<div key={rowIndex} className={styles.row}>
|
||||
<div className={styles.date}>{formatDate(`${date} 00:00:00`, 'PP', locale)}</div>
|
||||
<div className={styles.date}>{formatDate(date, 'PP', locale)}</div>
|
||||
<div className={styles.visitors}>{visitors}</div>
|
||||
{days.map(day => {
|
||||
if (totalDays - rowIndex < day) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue