[#8714] formatTime not defined
Summary formatTime not defined
Queue Chora
Queue Version 2.1
Type Bug
State Resolved
Priority 1. Low
Owners Jan Schneider <jan (at) horde (dot) org>
Requester horde (at) albasoft (dot) com
Created 11/17/09 (121 days ago)
Due
Updated 12/01/09 (107 days ago)
Assigned
Resolved 12/01/09 (107 days ago)
Attachments
Milestone 2.1.1
Patch Yes

History
12/01/09 Jan Schneider Comment #3
Assigned to Jan Schneider
State ⇒ Resolved
Milestone ⇒ 2.1.1
Reply to this comment
Committed, thanks!
12/01/09 CVS Commit Comment #2 Reply to this comment
11/17/09 horde (at) albasoft (dot) com Comment #1
State ⇒ Unconfirmed
Patch ⇒ 1
Milestone ⇒
Queue ⇒ Chora
Summary ⇒ formatTime not defined
Type ⇒ Bug
Priority ⇒ 1. Low
Reply to this comment
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')) {