瀏覽代碼

Merge pull request #969 from simon04/out-of-date-format

print: out-of-date format
J Guerreiro 5 年之前
父節點
當前提交
f406866a45
共有 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")
 	}