1
elgrillo
Smarty help
  • 2004/12/30 20:20

  • elgrillo

  • Just popping in

  • Posts: 10

  • Since: 2004/12/18


Hello Everyone!

Currently, my Agenda calender module diaplays the date in this format:
"Today is 2004 December 28 Tuesday"

How do I change the format to read:
"Today is Tuesday, December 28th"

I see the "$agendax.date" smarty tag within the template, but I'm not versed enough with Smarty to understand where I would make the change.

Also, the "Thisweek_block" displays any reacurring events by including a "(reocurring)" link, this is cool except it doesn't state on what day the event is reoccuring! Any ideas of how I could replace or add to the (recurring) link?


Thanks in advance for any help!!

2
studioC
Re: Smarty help
  • 2004/12/30 20:32

  • studioC

  • Friend of XOOPS

  • Posts: 922

  • Since: 2003/12/7


hello elgrillo,

this will do it in your theme or template i think,

today is <{$smarty.now|date_format:"%A, %B %e, %Y"}>

but perhaps have a look at : http://smarty.php.net/manual/en/language.modifier.date.format.php

where you find a description of putting the correct settings you want together.


michael

Login

Who's Online

373 user(s) are online (241 user(s) are browsing Support Forums)


Members: 0


Guests: 373


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits