Stories
Slash Boxes
Comments

Slash Open Source Project

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.
  • Templates can do all this. You'll need to learn how to modify templates, how to use the Template language, etc. For this task, Template comes with a date plugin. So you could, for example, do:

    [% USE date; date.format(date.now, "%A, %B %d, %Y") %]
    • I tend to just use our own Slash.timeCalc() though since it will adjust the time to the user's timezone.
      --

      --
      You can't grep a dead tree.
      • by pudge (6) on Saturday January 05 2002, @02:39PM (#3923) Homepage
        Yeah, good call. I was just thinking of a more general Template solution, but in Slash, the date plugin is rarely needed, since Slash.timeCalc() does what you need most of the time.