From: Michael M Slusarz Date: Wed, 21 Jan 2009 06:19:54 +0000 (-0700) Subject: Some patchset changes. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=2a4cfa0c94a95397f71bba1fc9ddd497bdfb9ecb;p=horde.git Some patchset changes. --- diff --git a/chora/patchsets.php b/chora/patchsets.php index c11a7275b..c7e99b45b 100644 --- a/chora/patchsets.php +++ b/chora/patchsets.php @@ -19,10 +19,6 @@ if (empty($conf['paths']['cvsps']) && exit; } -if (@is_dir($fullname)) { - Chora::fatal(_("No patchsets for directories yet."), '501 Not Implemented'); -} - if (!$VC->isFile($fullname)) { Chora::fatal(sprintf(_("%s: no such file or directory"), $where), '404 Not Found'); } @@ -44,7 +40,7 @@ require CHORA_TEMPLATES . '/patchsets/header.inc'; $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 ($VC->supportsFeature('patchsets')) {