浏览代码

print: out-of-date format

Consistently use the same date format for all dates.
Simon Legner 5 年之前
父节点
当前提交
d25f2939eb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      print.go

+ 1 - 1
print.go

@@ -308,7 +308,7 @@ func PrintInfo(a *rpc.Pkg) {
 	printInfoValue("Last Modified", formatTimeQuery(a.LastModified))
 
 	if a.OutOfDate != 0 {
-		printInfoValue("Out-of-date", "Yes ["+formatTime(a.OutOfDate)+"]")
+		printInfoValue("Out-of-date", formatTimeQuery(a.OutOfDate))
 	} else {
 		printInfoValue("Out-of-date", "No")
 	}