mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-29 02:18:51 +03:00
Pull request 1990: 5793-fix-stats-date
Updates #5793. Squashed commit of the following: commit 6ad10c000a00c23574342bd01f2cfe91b8eeaac3 Author: Stanislav Chzhen <s.chzhen@adguard.com> Date: Mon Sep 4 13:08:22 2023 +0300 all: upd chlog commit ab579d9cdc1b9f24015c8abff618c9ffe4d4f602 Author: Stanislav Chzhen <s.chzhen@adguard.com> Date: Fri Sep 1 19:39:00 2023 +0300 client: fix stats date
This commit is contained in:
parent
905f9615a8
commit
51340adb36
2 changed files with 3 additions and 1 deletions
|
@ -143,6 +143,7 @@ In this release, the schema version has changed from 24 to 26.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
- Incorrect display date on statistics graph ([#5793]).
|
||||||
- Missing query log entries and statistics on service restart ([#6100]).
|
- Missing query log entries and statistics on service restart ([#6100]).
|
||||||
- Occasional DNS-over-QUIC and DNS-over-HTTP/3 errors ([#6133]).
|
- Occasional DNS-over-QUIC and DNS-over-HTTP/3 errors ([#6133]).
|
||||||
- Legacy DNS rewrites containing IPv4-mapped IPv6 addresses are now matching the
|
- Legacy DNS rewrites containing IPv4-mapped IPv6 addresses are now matching the
|
||||||
|
@ -155,6 +156,7 @@ In this release, the schema version has changed from 24 to 26.
|
||||||
[#1453]: https://github.com/AdguardTeam/AdGuardHome/issues/1453
|
[#1453]: https://github.com/AdguardTeam/AdGuardHome/issues/1453
|
||||||
[#2998]: https://github.com/AdguardTeam/AdGuardHome/issues/2998
|
[#2998]: https://github.com/AdguardTeam/AdGuardHome/issues/2998
|
||||||
[#3701]: https://github.com/AdguardTeam/AdGuardHome/issues/3701
|
[#3701]: https://github.com/AdguardTeam/AdGuardHome/issues/3701
|
||||||
|
[#5793]: https://github.com/AdguardTeam/AdGuardHome/issues/5793
|
||||||
[#5948]: https://github.com/AdguardTeam/AdGuardHome/issues/5948
|
[#5948]: https://github.com/AdguardTeam/AdGuardHome/issues/5948
|
||||||
[#6020]: https://github.com/AdguardTeam/AdGuardHome/issues/6020
|
[#6020]: https://github.com/AdguardTeam/AdGuardHome/issues/6020
|
||||||
[#6050]: https://github.com/AdguardTeam/AdGuardHome/issues/6050
|
[#6050]: https://github.com/AdguardTeam/AdGuardHome/issues/6050
|
||||||
|
|
|
@ -44,7 +44,7 @@ const Line = ({
|
||||||
enableGridY={false}
|
enableGridY={false}
|
||||||
enablePoints={false}
|
enablePoints={false}
|
||||||
xFormat={(x) => {
|
xFormat={(x) => {
|
||||||
if (interval === 1 || interval === 7) {
|
if (interval >= 0 && interval <= 7) {
|
||||||
const hoursAgo = subHours(Date.now(), 24 * interval);
|
const hoursAgo = subHours(Date.now(), 24 * interval);
|
||||||
return dateFormat(addHours(hoursAgo, x), 'D MMM HH:00');
|
return dateFormat(addHours(hoursAgo, x), 'D MMM HH:00');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue