unknown
5/20/25

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

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

Saved Queries