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 d10d503fcc44c8d0650b22339abe72085a4ab56a..421c7a25f6f9d53c5498fafc9cba6fbbdbdd560a 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" }