Truncate Date with CSS

Can CSS be used to eliminate the repeating portion of a date? For example show “mm/dd/yy” instead of “mm/dd/yy, every two days”

Afraid not, since they are one CSS element. The every x days text is added by javascript into the same element. You’d have inject javascript based on the minified javascript doing it, which is way too hard IMO.


Thought so, thanks.