From 6f6153e1925a5739dfc5ecdb58bbcfadf3b47c5f Mon Sep 17 00:00:00 2001 From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch> Date: Wed, 31 Jan 2018 23:54:52 +0100 Subject: [PATCH] Show human readable period for grace location on startup. Refers to #25 --- AutoTx/AutoTx.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AutoTx/AutoTx.cs b/AutoTx/AutoTx.cs index 609ab7b..ee781dd 100644 --- a/AutoTx/AutoTx.cs +++ b/AutoTx/AutoTx.cs @@ -296,7 +296,8 @@ namespace AutoTx } - msg += "\n------ Grace location status (threshold: " + _config.GracePeriod + ") ------\n"; + msg += "\n------ Grace location status, threshold: " + _config.GracePeriod + " days " + + "(" + TimeUtils.DaysToHuman(_config.GracePeriod) + ") ------\n"; try { var tmp = SendGraceLocationSummary(_config.GracePeriod); if (string.IsNullOrEmpty(tmp)) { -- GitLab