Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

For portability, instances of strftime('%T') have been replaced with

'%H:%M:%S'.

Bug: 7629
  • Loading branch information...
commit e4616da2153b5124e0d9fe47be5566e94d48d158 1 parent 59eb2df
Jon Parise jparise authored
Showing with 22 additions and 8 deletions.
  1. +1 −1  Log/win.php
  2. +1 −0  package.php
  3. +13 −2 package.xml
  4. +7 −5 package2.xml
2  Log/win.php
View
@@ -236,7 +236,7 @@ function log($message, $priority = null)
/* Build the output line that contains the log entry row. */
$line = '<tr>';
$line .= sprintf('<td>%s.%s</td>',
- strftime('%T', $sec), substr($usec, 2, 2));
+ strftime('%H:%M:%S', $sec), substr($usec, 2, 2));
if (!empty($this->_ident)) {
$line .= '<td>' . $this->_ident . '</td>';
}
1  package.php
View
@@ -10,6 +10,7 @@
$version = '1.9.6';
$notes = <<<EOT
_getBacktraceVars() now works with composite handlers. (Bug 7602)
+Instances of strftime('%T') have been replaced with '%H:%M:%S'. (Bug 7629)
EOT;
$package = new PEAR_PackageFileManager2();
15 package.xml
View
@@ -15,10 +15,11 @@
</maintainers>
<release>
<version>1.9.6</version>
- <date>2006-05-14</date>
+ <date>2006-05-27</date>
<license>PHP License</license>
<state>stable</state>
<notes>_getBacktraceVars() now works with composite handlers. (Bug 7602)
+Instances of strftime(&apos;%T&apos;) have been replaced with &apos;%H:%M:%S&apos;. (Bug 7629)
</notes>
<deps>
<dep type="php" rel="ge" version="4.3.0" optional="no"/>
@@ -90,10 +91,11 @@
<changelog>
<release>
<version>1.9.6</version>
- <date>2006-05-14</date>
+ <date>2006-05-27</date>
<license>PHP License</license>
<state>stable</state>
<notes>_getBacktraceVars() now works with composite handlers. (Bug 7602)
+Instances of strftime(&apos;%T&apos;) have been replaced with &apos;%H:%M:%S&apos;. (Bug 7629)
</notes>
</release>
<release>
@@ -127,5 +129,14 @@ Settled on the PHP4-style &quot;return object by reference&quot; notation for go
Log::factory(), Log::singleton(), and Log_observer::factory() now return null instead of false on failure. This is more consistent with the model that these methods return object references. Backwards compatibility is only violated if users were explicitly testing for a literal &apos;false&apos; result.
</notes>
</release>
+ <release>
+ <version>1.9.3</version>
+ <date>2005-12-04</date>
+ <license>PHP License</license>
+ <state>stable</state>
+ <notes>The Observer code is now PHP 4.4 compliant. (Bug 5776)
+Log::factory(), Log::singleton(), and Log_observer::factory() now return null instead of false on failure. This is more consistent with the model that these methods return object references. Backwards compatibility is only violated if users were explicitly testing for a literal &apos;false&apos; result.
+ </notes>
+ </release>
</changelog>
</package>
12 package2.xml
View
@@ -13,8 +13,8 @@
<email>jon@php.net</email>
<active>yes</active>
</lead>
- <date>2006-05-14</date>
- <time>17:24:14</time>
+ <date>2006-05-27</date>
+ <time>17:38:42</time>
<version>
<release>1.9.6</release>
<api>1.0.0</api>
@@ -24,7 +24,8 @@
<api>stable</api>
</stability>
<license uri="http://www.php.net/license/3_01.txt">PHP License</license>
- <notes>_getBacktraceVars() now works with composite handlers. (Bug 7602)</notes>
+ <notes>_getBacktraceVars() now works with composite handlers. (Bug 7602)
+Instances of strftime(&apos;%T&apos;) have been replaced with &apos;%H:%M:%S&apos;. (Bug 7629)</notes>
<contents>
<dir baseinstalldir="/" name="/">
<dir name="docs">
@@ -121,9 +122,10 @@
<release>stable</release>
<api>stable</api>
</stability>
- <date>2006-05-14</date>
+ <date>2006-05-27</date>
<license uri="http://www.php.net/license/3_01.txt">PHP License</license>
- <notes>_getBacktraceVars() now works with composite handlers. (Bug 7602)</notes>
+ <notes>_getBacktraceVars() now works with composite handlers. (Bug 7602)
+Instances of strftime(&apos;%T&apos;) have been replaced with &apos;%H:%M:%S&apos;. (Bug 7629)</notes>
</release>
<release>
<version>
Please sign in to comment.
Something went wrong with that request. Please try again.