feat(reports): align rollup timezones
This commit is contained in:
@@ -456,6 +456,7 @@ func serializeAccountSettings(account *model.Account) map[string]any {
|
||||
"auto_resolve_ignore_waiting": false,
|
||||
"audio_transcriptions": false,
|
||||
"auto_resolve_label": "",
|
||||
"reporting_timezone": account.ReportingTimezone,
|
||||
}
|
||||
return settings
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ func (s *AnalyticsHandlerTestSuite) SetupSuite() {
|
||||
))
|
||||
|
||||
// Create test account
|
||||
acct := model.Account{Name: "TestAccount"}
|
||||
acct := model.Account{Name: "TestAccount", ReportingTimezone: "UTC"}
|
||||
s.Require().NoError(db.Create(&acct).Error)
|
||||
s.accountID = acct.ID
|
||||
|
||||
|
||||
Reference in New Issue
Block a user