[Tickets #8714] formatTime not defined

bugs at horde.org bugs at horde.org
Tue Nov 17 18:59:55 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8714
------------------------------------------------------------------------------
  Ticket             | 8714
  Created By         | horde at albasoft.com
  Summary            | formatTime not defined
  Queue              | Chora
  Version            | 2.1
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


horde at albasoft.com (2009-11-17 13:59) wrote:

When working with a SVN repo, a click on 'patchsets' leads to this:
Fatal error: Call to undefined method Chora::formattime() in  
<path>/horde/chora/patchsets.php on line 49

Should it be 'formatDate' ?

--- patchsets.php.ori	2009-11-17 19:57:53.000000000 +0100
+++ patchsets.php	2009-11-17 19:58:12.000000000 +0100
@@ -46,7 +46,7 @@
  $patchsets = $ps->_patchsets;
  krsort($patchsets);
  foreach ($patchsets as $id => $patchset) {
-    $commitDate = Chora::formatTime($patchset['date']);
+    $commitDate = Chora::formatDate($patchset['date']);
      $readableDate = Chora::readableTime($patchset['date'], true);
      $author = Chora::showAuthorName($patchset['author'], true);
      if (is_a($VC, 'VC_svn')) {







More information about the bugs mailing list