Skip to content

jillztom/momentary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Momentary

A JavaScipt plugin for updating the time stamp in your webpages.

Example:
  • 1 minute ago
  • 5 days ago
Usage:

Include the momentary.js file in the <body> section of your page.
Use: <span class="relativetime" title="2015-09-17 18:25:08"></span> in your HTML code. Add the time stamp in the title attribute via your scriping language.

eg: <span class="relativetime" title="{{ $post->created_at }}"></span>

output:

1 minute ago

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published