From 900515f0a6f63ae7b711de69e3a7c80735ca0259 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 11 Dec 2012 14:05:57 +0000 Subject: [PATCH] applications/luci-statistics: convert nut plugin to minutes --- .../luasrc/statistics/rrdtool/definitions/nut.lua | 4 ++-- 1 file 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 d10d503fc..421c7a25f 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" } -- 2.25.1