Date doesn't conform with WordPress format
-
In the Terms, the date is displayed with [legull display=”last_updated”]. What is displayed is formatted as such:
These terms were last updated on February 6th, 2015
However, my site is set (in settings>general) to the first option, 6th February 2015.
It is quite annoying when plugins choose to ignore the default date format set by WordPress. I am in the UK, we don’t say February 6th – that’s an Americanism. Could this be altered, so the plugin conforms to whatever date format is set in WordPress?
I’m not an expert, but I think you need to use:
get_option('date_format')
Other than this, I’m enjoying the plugin – it’s very simple to use!
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Date doesn't conform with WordPress format’ is closed to new replies.