summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/luasrc/statistics
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-12-11 14:05:57 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-12-11 14:05:57 +0000
commit900515f0a6f63ae7b711de69e3a7c80735ca0259 (patch)
treeacc5cc81ab7bce3b4189108482db44bc11eff93d /applications/luci-statistics/luasrc/statistics
parent61e5292c34a882228e1ae1a4f2b220442e825d45 (diff)
applications/luci-statistics: convert nut plugin to minutes
Diffstat (limited to 'applications/luci-statistics/luasrc/statistics')
-rw-r--r--applications/luci-statistics/luasrc/statistics/rrdtool/definitions/nut.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/nut.lua b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/nut.lua
index d10d503fcc..421c7a25f6 100644
--- a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/nut.lua
+++ b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/nut.lua
@@ -85,8 +85,8 @@ function rrdargs( graph, plugin, plugin_instance, dtype )
local timeleft = {
title = "%H: Time left on UPS \"%pi\"",
- vlabel = "seconds",
- number_format = "%7lfs",
+ vlabel = "Minutes",
+ number_format = "%7lfm",
data = {
sources = {
timeleft = { "timeleft" }