public class $.symphonyTimeAgo

symphony.timeago.js

Convert absolute to relative dates.

				$('.notifier').symphonyTimeAgo();

Methods

public static
symphony.timeago.js
static symphonyTimeAgo(Object $options, String $options.items, String $options.timestamp)

Convert absolute to relative dates.

				$('.notifier').symphonyTimeAgo();
Parameters
  • $options ObjectAn object specifying containing the attributes specified below

  • $options.items StringSelector to find the absolute date

  • $options.timestamp StringAttribute of `object.items` representing the timestamp of the given date

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details