Greetings,
I use the following code to display either the edit_date or entry_date of a entry, depending, on which one is more recent.
<?php /*Display latest entry date*/ if ({edit_date format="%Y-%m-%d"} > {entry_date format="%Y-%m-%d"}){ ?> Reviewed {edit_date format="%Y-%m-%d"}. <?php } else { ?> Reviewed {entry_date format="%Y-%m-%d"}.<?php } ?>That being said, some of my entries display a far-future edit_date: for example, 2033-01-01. I looked up one of the entries in the exp_weblog_titles table, and the edit_date field contained ‘20111025092943’; it appears that it did not convert to the correct timestamp. This only appears to affect certain entries (probably about 2-5% of my entries).
I also tried deleting one of the ‘faulty’ entries and recreating it…Then going in and editing the new entry, and it exhibits the same problem.
I am running EE 1.71 Build 20110520. I have disabled the extensions that I am running (LG Live Look; LG TinyMCE; NSM Publish Plus), but the problem still pops up (at least, with the above entry). And, it is only on certain, apparently random entries.
Can someone please direct me to the code/page that powers the edit_date, or recommend something else to try (perhaps overwriting the code/page with a default version)?
Thanks in advance!
UMStramcomm