Does anyone know how to format the blog post date to only capitalize the first letter of the day and month?
I’m currently using ‘EEEE, MMMM d, yyyy’ as my format but I get all caps for the day and month (e.g. MONDAY, JULY 23, 2018.)
Thank you.
Hi Jeff,
The date formatting follows the patterns for Java Simple Date Format.
https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
There is also an online date format tester you can try here:
http://www.sdfonlinetester.info/
Your format string should result in a date like: Monday, July 23, 2018
You may want to double check the Page / Template to see if there is a CSS rule getting applied that is capitalizing the text.
-n
You were correct. I don’t recall adding it, but that was the issue.
Thank you.