$test = setlocale(LC_TIME, "Russian");
var_dump($test);
$test = date_create('06 окт. 2014 21:45:17');
var_dump($test);
string(19) "Russian_Russia.1251"
bool(false)
$dateFormatter = new \IntlDateFormatter(
'ru',
\IntlDateFormatter::FULL,
\IntlDateFormatter::FULL,
new \DateTimeZone('UTC'),
IntlDateFormatter::GREGORIAN,
'dd MMM yyyy HH:mm:ss'
);
$string = '06 окт. 2014 21:45:17';
var_dump($string);
$timestamp = $dateFormatter->parse($string);
$test = new \DateTime(sprintf('@%s UTC', $timestamp));
var_dump($test);