Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.25 KB

README.md

File metadata and controls

23 lines (16 loc) · 1.25 KB

Livetime

An e107 plugin that incorporates Matt Bradley’s livestamp javascript library and its dependency moment.js to e107 powered websites.

The awesome devs at e107 inc was kind enough to add support for this library to e107 core by means of a date function e107::getParser()->toDate(); after this feature request.

What it does?

It will update automatically the timestamp text in the supported timestamp elements on your e107 powered website as time goes by.

Demo

See the browser screen-cast gif animation below to see it in action, but 20x fast-forwarded. livetime-demo3

How to use

Its just a matter for e107 theme and plugin developers to use the above mentioned date method to parse date in their e107 projects and install this plugin. Rest is handled by the awesome javascript libraries called moment.js and livestamp.js that this plugin makes use of.

Update Libraries

If you have bower installed, run the following command inside the livetime plugin directory to update the javascript libraries to latest versions.

# terminal

$ bower update