Relative Timestamps in Addon

Bugfix

Member
Hello!

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

Thanks for help!
Harald
 
That should be all you have to do.
How is $date stored in the database? It should be a UNIX timestamp.
 
Back
Top Bottom