applications/luci-statistics: convert nut plugin to minutes
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 11 Dec 2012 14:05:57 +0000 (14:05 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 11 Dec 2012 14:05:57 +0000 (14:05 +0000)
applications/luci-statistics/luasrc/statistics/rrdtool/definitions/nut.lua

index d10d503..421c7a2 100644 (file)
@@ -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" }