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

XenForo Time Format in Templates

Discussion in 'XenForo Development Discussions' started by John L., May 19, 2015.

  1. John L.

    John L. Well-Known Member

    Hey Guys,

    This might be a silly question, but I'm trying to figure out a way to pull out the current active language's time format and reference it in a XenForo template. Is that possible at all?
     
  2. Jake B.

    Jake B. Well-Known Member

    Code:
    $visitorLanguage.time_format
    
    should work :)
     
    John L. likes this.
  3. John L.

    John L. Well-Known Member

    The man, thank you sir!
     

Share This Page