XF\Language::getDateTimeParts errors if a \Datetime is passed in

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)

Читать далее...
 
Активность
Пока что здесь никого нет

Похожие темы

Назад
Верх Низ