Issue UI: add system and timezone (#26072)
This commit is contained in:
parent
795e12ba16
commit
97444e6241
10 changed files with 80 additions and 15 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue