diff options
author | Lauris BH <lauris@nix.lv> | 2017-06-28 08:43:28 +0300 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-06-28 13:43:28 +0800 |
commit | 32fc44aa83e61acb93dbdcf6d47dfadc69f5c044 (patch) | |
tree | 60c08a5a57d10e710c36d27685f199af465f0b97 /routers/admin | |
parent | 9d8fba62b37aee328f47411d1e187ca8f18396e4 (diff) | |
download | gitea-32fc44aa83e61acb93dbdcf6d47dfadc69f5c044.tar.gz gitea-32fc44aa83e61acb93dbdcf6d47dfadc69f5c044.zip |
Make time diff translatable (#2057)
Diffstat (limited to 'routers/admin')
-rw-r--r-- | routers/admin/admin.go | 2 |
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) |