"Invalid date" replaced the correct date value in my showsingle.tpl

NodeBB Development
  • GNU/Linux

    The problem is that when I reload tpl page, I view the correct data for one instant and after the date value are replaced about "invalid date" . It not a problem about my controller.js because it sends the correct values to my tpl page.
    This is the hmtl code problem is:

    <small class="hidden-xs"><span class="timeago" title="{element.title}" datetime="{element.datatime}">{element.text}</span></small>
  • NodeBB

    Does it work with just this

    <small class="timeago" title="{element.timestampInISOFormat}"></small>

Suggested Topics

| | | |