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

Javascript for displaying relative time

Marcus

Well-known member
#1
I want to do this:
  • ".time" is "display:none" at page load
  • the javascript changing the time to relative time ("yesterday at 3pm") also sets "display:yes"

Now I am just looking for enhancing the javascript. Where is it, and is it possible to modify it? Is there a common way to enhance javascript like there is with php files?