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
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ if(!defined('OSTSTAFFINC') || !$category || !$thisstaff) die('Access Denied');
<div>
<strong><?php echo $category->getName() ?></strong>
<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 class="cat-desc">
<?php echo Format::display($category->getDescription()); ?>
......
......@@ -33,7 +33,7 @@ if($thisstaff->canManageFAQ()) {
<?php echo ($topics=$faq->getHelpTopics())?implode(', ',$topics):' '; ?>
</div>
</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>
<?php
if($thisstaff->canManageFAQ()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment