• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Relative Timestamps in Addon


I have an addon and want to use rlative timestamps in it.
I postet them like this:
<xen:datetime time="$date" />
But the rel. timestamps don't work. Is there a special JS-File I have to include?

Thanks for help!


XenForo moderator
Staff member
That should be all you have to do.
How is $date stored in the database? It should be a UNIX timestamp.