Memphis Last Updated Widget – Date Format
-
Hi
I am running the latest version of your plugin on a corporate intranet, which is generally working very well for me.
I am using the Memphis Last Updated widget on my theme and noticed that the date format is mm/dd/yy – could you please advise how I change this to dd/mm/yy?
Many thanks
Louise.
-
Hi Louise,
I had posted this here:
https://ww.wp.xz.cn/support/topic/date-format-57?replies=5Hope that helps!
Thanks chisss that should do the trick,
The new release of mDocs will have the ability to change the dates to how every you like, but for now this will work 🙂
Hi
Thanks for the pointers. I have just looked at the mdocs-file-info-small.php file on my WordPress as you suggested and mine is already set to d-m-y.
I am using the small version and it still shows m-d-y in the widget.
Thanks
Louise.
Line 9 of the mdocs-file-info-small.php will change the date to what you are looking for.
Hope this helps:
$last_modified = gmdate('d-m-y H:i',$the_mdoc['modified']+MDOCS_TIME_OFFSET);I have just tried that and made the change you suggested but it then prevented me from logging into my site (or from browsing to my site).
I have now reverted back to what it was originally and my site is back up. However, the original problem remains.
Please see screen shot in the link below:
https://drive.google.com/file/d/0BzbaNuJKY3LsM21FeTZvXzU0YkU/view?usp=sharing
try this code:
$last_modified = gmdate('m-d-y H:i',$the_mdoc['modified']+MDOCS_TIME_OFFSET);this should in no way log you out from your site, all we are doing so modifying a date string.
The topic ‘Memphis Last Updated Widget – Date Format’ is closed to new replies.