Skip to content

Commit

Permalink
moved timezone to main section
Browse files Browse the repository at this point in the history
  • Loading branch information
frese committed Nov 2, 2020
1 parent 7dd3ff7 commit b59a8ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pd.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func pdInit(cfg *ini.File) {
includes = filterInit("include", cfg)
excludes = filterInit("exclude", cfg)
pd = pagerduty.NewClient(cfg.Section("pagerduty").Key("token").String())
timezone := cfg.Section("pagerduty").Key("timezone").String()
timezone := cfg.Section("main").Key("timezone").String()
if timezone != "" {
var err error
location, err = time.LoadLocation(timezone)
Expand Down

0 comments on commit b59a8ad

Please sign in to comment.