mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-09 15:38:17 -07:00
fix: include time zone name overrides and add KOITO_FORCE_TZ cfg option (#176)
* timezone overrides and force_tz option * docs for force_tz * add link to time zone names in docs
This commit is contained in:
parent
1ed055d098
commit
937f9062b5
4 changed files with 153 additions and 1 deletions
|
|
@ -96,6 +96,10 @@ func Run(
|
|||
defer store.Close(ctx)
|
||||
l.Info().Msg("Engine: Database connection established")
|
||||
|
||||
if cfg.ForceTZ() != nil {
|
||||
l.Debug().Msgf("Engine: Forcing the use of timezone '%s'", cfg.ForceTZ().String())
|
||||
}
|
||||
|
||||
l.Debug().Msg("Engine: Initializing MusicBrainz client")
|
||||
var mbzC mbz.MusicBrainzCaller
|
||||
if !cfg.MusicBrainzDisabled() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue