get_the_date and get_the_time ignoring format string argument
-
Hi all,
I have searched high and low through the codex, forums and via google and have not come up with an answer to my question.
The problem is the following: within my theme I am in various places using get_the_date and get_the_time calls. On different pages (e.g. main page vs. page listing archives) I wish to have a different format for the date and/or time. The problem is that whatever format string I place in my get_the_date and get_the_time calls, it is ignored and always some sort of standard format is being used!
I have tried various format strings to test and even modified some of the strings around the date and time to ensure that I am editing in the right place….which I am, but whatever date/time format string I supply, it is ignored!
Can anyone shed some light on this for me?
Thanks a lot in advance,
Kristian.
- The topic ‘get_the_date and get_the_time ignoring format string argument’ is closed to new replies.