Skip to content
Snippets Groups Projects
Commit 845b398b authored by Jared Hancock's avatar Jared Hancock
Browse files

faq: Fix last modified time not to be midnight

It was also the last-modified date of the category -- not the actual FAQ
article itself
parent 7145785a
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