#3786·umami

统计百分比计算时使用的参考时间框架有误

作者: schlagmichdoch创建于 2025年11月23日更新于 2026年9月16日
标签enhancement

The following needs to be changed to cover the case when now / currentDate is before the endDate:

Stats endpoint call

The stats endpoint call should be changed to include the current timestamp:

url
/stats?startAt=1763830800000&endAt=1763920799999&now=1763921220000&unit=hour

/stats endpoint

Map the new URL parameter now to the filter object:

内容来源: umami-software/umami