mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Deployments with timezone
This commit is contained in:
parent
6303acc9a4
commit
f1590e29f8
@ -69,9 +69,9 @@ func (widget *Widget) contentFrom(deploys []nr.ApplicationDeployment) string {
|
||||
for _, deploy := range deploys {
|
||||
if (deploy.Revision != "") && wtf.Exclude(revisions, deploy.Revision) {
|
||||
str = str + fmt.Sprintf(
|
||||
" [green]%4s[white] %s %s\n",
|
||||
deploy.Revision[len(deploy.Revision)-4:],
|
||||
deploy.Timestamp.Format("Jan 2 15:04"),
|
||||
" [green]%s[white] %-6s %s\n",
|
||||
deploy.Revision[0:8],
|
||||
deploy.Timestamp.Format("Jan 2"),
|
||||
wtf.NameFromEmail(deploy.User),
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user