H high1976 Active member Apr 11, 2012 #1 trying to get relative timestamps in a plugin but can't get the output updated by JS, is there any special trigger needed? Code: $item['date'] = XenForo_Locale::dateTime($item['date'], 'relative');
trying to get relative timestamps in a plugin but can't get the output updated by JS, is there any special trigger needed? Code: $item['date'] = XenForo_Locale::dateTime($item['date'], 'relative');
Jeremy P XenForo developer Staff member Sep 23, 2012 #3 Ever figure this out? Just use the special xen:date template tag.
H high1976 Active member Sep 23, 2012 #4 oh thats long ago...no, never solved it and stayed with absolute dates ('absolute'). Not sure what the problem was with xen:date, guess it wasn't working outside the template-system.
oh thats long ago...no, never solved it and stayed with absolute dates ('absolute'). Not sure what the problem was with xen:date, guess it wasn't working outside the template-system.