Commit:    e939201949dda8510105a4d38e01f55e3679fc4e
Author:    Sherif Ramadan <[email protected]>         Fri, 22 Nov 2013 20:05:18 
-0500
Parents:   64b7737ac48d3a9f882878ecb10679fe4fe8e4f4
Branches:  master

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

Log:
Fix another EOL date bug. Wrong values for the periods.

Changed paths:
  M  eol.php


Diff:
diff --git a/eol.php b/eol.php
index 0b6564f..6f0cd49 100644
--- a/eol.php
+++ b/eol.php
@@ -50,9 +50,9 @@ site_header('Unsupported Branches');
                                                        $times[] = 
array($diff->m,'month');
                                                        }
                                                } elseif ($diff->m) {
-                                                       $times[] = 
array($diff->m,'year');
+                                                       $times[] = 
array($diff->m,'month');
                                                } elseif ($diff->d) {
-                                                       $times[] = 
array($diff->d,'year');
+                                                       $times[] = 
array($diff->d,'day');
                                                } else {
                                                        $eolPeriod = 'moments 
ago...';
                                                }


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

Reply via email to