First letter uppercase

how do I display the first letter of the day and the first letter of the month in uppercase (capital letters)?


image

The library we use is moment.js with date notations based on language. I have spoken to the team who have suggested a workaround where you include CSS; text-transform: capitalize; to get your desired outcome.
So for example:

<h1 style="text-align:center;"><span style="color:#FFFFFF;"><span style="font-size:72px; text-transform: capitalize;"><strong>[dddd], [DD] De [MMMM] De [YYYY]</strong></span></span></h1>

1 Like
The Xibo Community site uses cookies. What are cookies?