Fog Creek Software
Discussion Board

Knowledge Base
Terry's Tips
Darren's Tips


I have just downloaded the program....

...I deleted the tag variable which puts a date under a masthead

How do I re-insert it?

Henry Benjamin
Friday, March 21, 2003

Try adding something like this to the template:
{$ setDateTimeFormat "English" "dddd, MMMM dd, yyyy" "hh:mm" $}
                        {$ .filedDate $}

Check out the CityDesk help file forsetDateTimeFormat format and for which dates CityDesk gives you access to.

Ps.  A good way to recover default stuff you trashed is to create a new CityDesk site and copy and paste stuff from the new site's template to your working copy.

David Burch
Saturday, March 22, 2003

... the setDateTimeFormat is optional if you're happy with the default date format you get

Joel Spolsky
Monday, March 24, 2003

*  Recent Topics

*  Fog Creek Home