Преглед на файлове

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")
 	}