I was going to try to do it with Templater.php in my free time, but I had SEO concerns about the output code for 325 years.
HTML:
<time class="node-extra-date u-dt" dir="auto" datetime="2025-03-25T12:10:00+0000" data-timestamp="1742904600" data-date="Mar 25, 2025" data-time="12:10 PM" data-short="2d" title="Mar 25, 2025 at 12:10 PM">Tuesday at 12:10 PM</time>
This shows the data and timestamp in arguments.
You could easily change it to:
HTML:
<time class="node-extra-date u-dt" dir="auto" datetime="2025-03-25T12:10:00+0000" data-timestamp="1742904600" data-date="Mar 25, 2025" data-time="12:10 PM" data-short="2d" title="Mar 25, 2025 at 12:10 PM">March 25, 1700</time>
...which was my first approach...
So that the hover still shows it was posted on March 25.
But, which one does Google read for the date? Would it dismiss it/penalize you if you edited the
datetime
,
data-timestamp
, and
data-date
?
Like:
HTML:
<time class="node-extra-date u-dt" dir="auto" datetime="1700-03-25T12:10:00+0000" data-timestamp="-10090942650" data-date="Mar 25, 1700" data-time="12:10 PM" data-short="2d" title="Mar 25, 1700 at 12:10 PM">March 27, 170</time>