Issue UI: add system and timezone (#26072)

This commit is contained in:
Michael Geers 2025-12-21 13:16:59 +01:00 • committed by GitHub
parent 795e12ba16
commit 97444e6241
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 80 additions and 15 deletions

View file

@ -366,6 +366,8 @@ func runRoot(cmd *cobra.Command, args []string) {
valueChan <- util.Param{Key: keys.Version, Val: util.FormattedVersion()}
valueChan <- util.Param{Key: keys.Config, Val: viper.ConfigFileUsed()}
valueChan <- util.Param{Key: keys.Database, Val: db.FilePath}
valueChan <- util.Param{Key: keys.System, Val: util.System()}
valueChan <- util.Param{Key: keys.Timezone, Val: time.Now().Format("MST -07:00")}
// run shutdown functions on stop
var once sync.Once