Skip to content
Snippets Groups Projects
Commit cd66fc2f authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #647 from greezybacon/issue/136


faq: Fix last modified time not to be midnight

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents d0af0994 845b398b
Branches
Tags
No related merge requests found
...@@ -11,7 +11,7 @@ if(!defined('OSTSTAFFINC') || !$category || !$thisstaff) die('Access Denied'); ...@@ -11,7 +11,7 @@ if(!defined('OSTSTAFFINC') || !$category || !$thisstaff) die('Access Denied');
<div> <div>
<strong><?php echo $category->getName() ?></strong> <strong><?php echo $category->getName() ?></strong>
<span>(<?php echo $category->isPublic()?'Public':'Internal'; ?>)</span> <span>(<?php echo $category->isPublic()?'Public':'Internal'; ?>)</span>
<time>Last updated <?php echo Format::db_daydatetime($category->getUpdateDate()); ?></time> <time>Last updated <?php echo Format::db_date($category->getUpdateDate()); ?></time>
</div> </div>
<div class="cat-desc"> <div class="cat-desc">
<?php echo Format::display($category->getDescription()); ?> <?php echo Format::display($category->getDescription()); ?>
......
...@@ -33,7 +33,7 @@ if($thisstaff->canManageFAQ()) { ...@@ -33,7 +33,7 @@ if($thisstaff->canManageFAQ()) {
<?php echo ($topics=$faq->getHelpTopics())?implode(', ',$topics):' '; ?> <?php echo ($topics=$faq->getHelpTopics())?implode(', ',$topics):' '; ?>
</div> </div>
</p> </p>
<div class="faded">&nbsp;Last updated <?php echo Format::db_daydatetime($category->getUpdateDate()); ?></div> <div class="faded">&nbsp;Last updated <?php echo Format::db_daydatetime($faq->getUpdateDate()); ?></div>
<hr> <hr>
<?php <?php
if($thisstaff->canManageFAQ()) { if($thisstaff->canManageFAQ()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment