Wrong output in Example column:
While this same EvalCol (named "Modified" here) works fine in Lister:
Column XML
<?xml version="1.0"?>
<evalcolumn align="1" attrrefresh="yes" autorefresh="yes" category="date" customgrouping="yes" foldertype="all" header="Modified" keyword="modifiedfriendlyplus" maxstars="5" namerefresh="no" reversesort="yes" title="Modified (friendly+)" type="7">if (operation == "display")
{
today = Now();
mod_date = DatePart(modified, "date");
if (mod_date == DatePart(today, "date"))
return LanguageStr(5794) + " " + DatePart(modified, "time"); // "Today"
yesterday = today - 60 * 60 * 24;
if (mod_date == DatePart(yesterday, "date"))
return LanguageStr(5795) + " " + DatePart(modified, "time"); // "Yesterday"
}
return modified;
</evalcolumn>
I suspect it's due to string=>DateTime / DateTime=>string conversion, or LanguageStr() usage, since it happens only on Today+Yesterday files.
v13.6