From 5d5f1178f6a78d481285a28de61c83f23b5aa23e Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Sun, 2 Dec 2018 16:50:36 +0000 Subject: [PATCH] Fix off by-one error. Today (Dec 2nd), it shows 'today', where it's really the last day. --- include/branches.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/branches.inc b/include/branches.inc index 2445f8647d..4c13321f29 100644 --- a/include/branches.inc +++ b/include/branches.inc @@ -56,7 +56,7 @@ function format_interval($from, $to) { } elseif ($diff->d) { $times[] = array($diff->d,'day'); } else { - $eolPeriod = 'today'; + $eolPeriod = 'last day'; } if ($times) { $eolPeriod = implode(', ',