summaryrefslogtreecommitdiffstats
path: root/routers/admin
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2017-06-28 08:43:28 +0300
committerLunny Xiao <xiaolunwen@gmail.com>2017-06-28 13:43:28 +0800
commit32fc44aa83e61acb93dbdcf6d47dfadc69f5c044 (patch)
tree60c08a5a57d10e710c36d27685f199af465f0b97 /routers/admin
parent9d8fba62b37aee328f47411d1e187ca8f18396e4 (diff)
downloadgitea-32fc44aa83e61acb93dbdcf6d47dfadc69f5c044.tar.gz
gitea-32fc44aa83e61acb93dbdcf6d47dfadc69f5c044.zip
Make time diff translatable (#2057)
Diffstat (limited to 'routers/admin')
-rw-r--r--routers/admin/admin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/admin/admin.go b/routers/admin/admin.go
index 3ce194f2b2..d439544c8b 100644
--- a/routers/admin/admin.go
+++ b/routers/admin/admin.go
@@ -73,7 +73,7 @@ var sysStatus struct {
}
func updateSystemStatus() {
- sysStatus.Uptime = base.TimeSincePro(startTime)
+ sysStatus.Uptime = base.TimeSincePro(startTime, "en")
m := new(runtime.MemStats)
runtime.ReadMemStats(m)