Hi. I'm running CMS Made Simple 1.3.1. I'm using PHP 4, and MySQL 4.1. with Apache running on Linux
I'm using Calendar ver. 0.8.2
I need to change the date format from 22 July, 2008 to July 22, 2008. As I have researched the forum I have discovered many conflicting answers. I have applied them with no success.
I have both the list template set to: date_format:"%A, %B %e, %Y"
and my tag: {cms_module module="Calendar" category="lunch" display="list" limit="1" dateformat=" %A, %B %e, %Y"}
Since there are so many posts on this forum addressing this particular issue, could one of the admins please post a workable solution as a sticky post, so that new users could easily find the solution to this common issue?
examples:
This forum says to modify the template: http://forum.cmsmadesimple.org/index.php/topic,20832.msg101311.html#msg101311
This forum says to modify the tag: http://forum.cmsmadesimple.org/index.php/topic,2966.msg16453.html#msg16453
and further down says to modify both.
Thanks,
CH
[SOLVED] Calendar Date Format
-
- Forum Members
- Posts: 28
- Joined: Tue Oct 09, 2007 4:33 pm
[SOLVED] Calendar Date Format
Last edited by charleyhankins on Sun Jul 20, 2008 10:37 pm, edited 1 time in total.
-
- Forum Members
- Posts: 28
- Joined: Tue Oct 09, 2007 4:33 pm
Re: Calendar Date Format
I would still like to know the actual correct modifications. But, if it will help anyone else out, I succeeded by changing the first section from this:
{$lang.date}: {$event.event_date_start|date_format:"%e"}
{$month_names[$month_number]} {$event.event_date_start|date_format:"%Y"}
to this:
{$lang.date}: {$event.event_date_start|date_format:"%A, %B %e, %Y"}
I hope that helps someone else.
Cheers,
CH =D
{$lang.date}: {$event.event_date_start|date_format:"%e"}
{$month_names[$month_number]} {$event.event_date_start|date_format:"%Y"}
to this:
{$lang.date}: {$event.event_date_start|date_format:"%A, %B %e, %Y"}
I hope that helps someone else.
Cheers,
CH =D
Re: [SOLVED] Calendar Date Format

patino-burch design
Anthony Patino-Burch
Anthony Patino-Burch