First letter uppercase

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


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

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.