Tag: i8l
ydate (Smarty extension function)
ydate is a Smarty extension function that formats a date or time value according to certain rules:
if the time is < 91 seconds, it shows "about a minute ago"
if the time is < 31 minutes, it shows "about X minutes ago"
if the time is < 91 minutes, it shows "about an hour ago"
if the time is < 12 hours, it shows...
0 comment(s)
/ glen
/ Templates
/ on April 2, 2005 at 17:38
