XF\Language::getDateTimeParts
used to accept a Datetime
object, but since XF2.3 this is now broken.The cause is the
getShortDate
function attempts to use the $timestamp
as a key into an array (which doesn't work with Datetime
object)Читать далее...