The "20201231123456" is a version identifier, to be displayed as static text in a page element. It's rather hard to parse visually, and I was wondering whether I could use pure CSS to display it split into its date and time components; that is, without needing to modify the actual value in the HTML source?
I've tried to search, but either I get results from 2011 saying it's not possible but someone's working on it, or results suggesting putting every character into its own span.
Is there a modern solution to this seemingly simple idea?
Bonus: To complicate matters, this goes into a long table with other stuff -- and some of the version identifiers are 5-digit numbers rather than date-times, but they are displayed in the same type of HTML element. Could the HTML element's styling accommodate both formats, so that "54321" remains as is, but "20201231123456" still becomes "20201231-123456"?