1. 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

Discussion in 'XenForo Development Discussions' started by Marcus, Nov 8, 2015.

  1. Marcus

    Marcus Well-Known Member

    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?
  2. Marcus

    Marcus Well-Known Member

    So I guess the easiest way is to just add a simple script that displays all .time elements :)

Share This Page