What does "which appears to be HTML-encoded." mean ? Can you show a screenshot ? What is "a display-only date field" ?
I tried to reproduce (on apex 24.1 - I have no access to older versions)
Tested this and it works as expected:
What did you do different and what are you seeing ?