From 2a4cfa0c94a95397f71bba1fc9ddd497bdfb9ecb Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 20 Jan 2009 23:19:54 -0700 Subject: [PATCH] Some patchset changes. --- chora/patchsets.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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')) { -- 2.11.0