diff --git a/include/staff/faq-category.inc.php b/include/staff/faq-category.inc.php index 6885f2f58fb93414d0a23226f7e6646ab2ec0e86..f6f2ce4c59723e9b2e87e14b6cbdd2c7e9741214 100644 --- a/include/staff/faq-category.inc.php +++ b/include/staff/faq-category.inc.php @@ -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()); ?> diff --git a/include/staff/faq-view.inc.php b/include/staff/faq-view.inc.php index f505e612fd98788cc86e07dfeb92174f8d74c473..5b6c528302636622ef4b8d87df3e1c934e658953 100644 --- a/include/staff/faq-view.inc.php +++ b/include/staff/faq-view.inc.php @@ -33,7 +33,7 @@ if($thisstaff->canManageFAQ()) { <?php echo ($topics=$faq->getHelpTopics())?implode(', ',$topics):' '; ?> </div> </p> -<div class="faded"> Last updated <?php echo Format::db_daydatetime($category->getUpdateDate()); ?></div> +<div class="faded"> Last updated <?php echo Format::db_daydatetime($faq->getUpdateDate()); ?></div> <hr> <?php if($thisstaff->canManageFAQ()) {