-
- 16 Posts
I’m using Jot for a guestbook, the entries give a date like su April 18 2010, and i would like to have sun 18 April 2010.
Does anybody has an idea how i can accomplish this.
Thanks
The default comment tpl uses this:
[+comment.createdon:date=`%a %B %d, %Y, %H:%M:%S`+]
you can modify that using any of the PHP strftime modifiers
http://www.php.net/manual/en/function.strftime.php
Jot uses its own internal copy of the PHx class; it works in the same way as the plugin:
http://wiki.modxcms.com/index.php/PHx#date.28.3D.60dateformat.60.29