Hi,
I’m noticing a difference between what’s displayed using the relative updated and published keywords on one of our pages.
Using the %globals_asset_updated_relative% and %globals_asset_published_relative% keywords it shows the updated date as ‘3 days ago’ and the published date as ‘4 days ago’, even though the page was both updated and published on the same day.
Is that because the relative keyword is comparing to the current time of about 1pm and the page was last updated at 3pm and last published at 11am? (Yes, it was updated after being published - but let’s not get hung up on that!)
I would expect that when the relative time is being measured in days it should compare to midnight rather than the current time. So if it was currently Monday and the page was updated on a Friday the relative keyword would display ‘3 days ago’ no matter what time on the actual day it was updated.
Cheers,
Lisa
Matrix Version: 5.3.4.2