Fixed \XF\Language::getRelativeDateTimeOutput() does not support full future dates

Jeremy P

XenForo developer
Staff member
Affected version
2.0.12
Previously, changes were made to the <xf:date> tag to add support for full future dates:

While the necessary JS changes were made in XF.DynamicDate, no corresponding PHP changes were made to \XF\Language::getRelativeDateTimeOutput(), which is responsible for rendering the relative date on the server to avoid any flickering on a page when the deferred JS loads in.
 
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF release (2.1.0 RC2).

Change log:
Output the full future date from PHP to match JS behavior.
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Back
Top Bottom