Commit:    5d5f1178f6a78d481285a28de61c83f23b5aa23e
Author:    Derick Rethans <git...@derickrethans.nl>         Sun, 2 Dec 2018 
16:50:36 +0000
Parents:   3f53bae495f989a168a7cd3b176d56fd7951c06b
Branches:  security-update-off-by-one

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=5d5f1178f6a78d481285a28de61c83f23b5aa23e

Log:
Fix off by-one error. Today (Dec 2nd), it shows 'today', where it's really the 
last day.

Changed paths:
  M  include/branches.inc


Diff:
diff --git a/include/branches.inc b/include/branches.inc
index 2445f86..4c13321 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(', ',


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to