Pull request 2190: 6758-embed-tzdata

Closes #6758.

Squashed commit of the following:

commit d62b4271d9861e328a1d5cd9f57123ddb5fadb40
Author: Stanislav Chzhen <s.chzhen@adguard.com>
Date:   Tue Apr 2 18:25:34 2024 +0300

    all: add docs

commit bb129d749fa94926150e301a58f13ee3be78eca0
Author: Stanislav Chzhen <s.chzhen@adguard.com>
Date:   Tue Apr 2 17:04:42 2024 +0300

    all: upd chlog

commit 59573d9869668ff9ddb1ef7d646a034799882bf8
Author: Stanislav Chzhen <s.chzhen@adguard.com>
Date:   Tue Apr 2 15:38:42 2024 +0300

    all: embed tzdata
This commit is contained in:
Stanislav Chzhen 2024-04-02 18:43:24 +03:00
parent d951692aca
commit d4fff41b3a
2 changed files with 6 additions and 0 deletions

View File

@ -25,6 +25,7 @@ NOTE: Add new changes BELOW THIS COMMENT.
### Changed ### Changed
- Time Zone Database is now embedded in the binary ([#6758]).
- Failed authentication attempts show the originating IP address in the logs, if - Failed authentication attempts show the originating IP address in the logs, if
the request came from a trusted proxy ([#5829]). the request came from a trusted proxy ([#5829]).
@ -43,6 +44,7 @@ NOTE: Add new changes BELOW THIS COMMENT.
[#5829]: https://github.com/AdguardTeam/AdGuardHome/issues/5829 [#5829]: https://github.com/AdguardTeam/AdGuardHome/issues/5829
[#6717]: https://github.com/AdguardTeam/AdGuardHome/issues/6717 [#6717]: https://github.com/AdguardTeam/AdGuardHome/issues/6717
[#6758]: https://github.com/AdguardTeam/AdGuardHome/issues/6758
[#6851]: https://github.com/AdguardTeam/AdGuardHome/issues/6851 [#6851]: https://github.com/AdguardTeam/AdGuardHome/issues/6851
<!-- <!--

View File

@ -4,6 +4,10 @@ package main
import ( import (
"embed" "embed"
// Embed tzdata in binary.
//
// See https://github.com/AdguardTeam/AdGuardHome/issues/6758
_ "time/tzdata"
"github.com/AdguardTeam/AdGuardHome/internal/home" "github.com/AdguardTeam/AdGuardHome/internal/home"
) )