#1631 - Edited date always displays current date instead of actual edited date for some edited content.

Identifier #1631
Issue type Minor issue (breaks specific functionality)
Title Edited date always displays current date instead of actual edited date for some edited content.
Status Completed
Handling member PDStig
Addon General / Uncategorised
Description I found five templates (possibly more?) with an incorrect {$DATE} usage causing the edited date for the content to always display the current date instead of the actual edited date. The affected templates:

CATALOGUE_DEFAULT_ENTRY_SCREEN.tpl
COMCODE_PAGE_SCREEN.tpl
IOTD_ENTRY_SCREEN.tpl
NEWS_ENTRY_SCREEN.tpl
POLL_SCREEN.tpl

If the undocumented parameters for {$DATE} aren't reordered to put the timestamp parameter first, then the templates should have this:

{$DATE*,{EDIT_DATE_RAW}}

changed to this:

{$DATE*,,,,{EDIT_DATE_RAW}}
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated