bratsun
3/1/2016 - 9:16 AM

Field formatter for German date output

Field formatter for German date output

$output = '';
foreach ($variables['#items'] as $item) {
  setlocale(LC_TIME, 'de_DE', 'de_DE.UTF-8');
  $output .= strftime('%e %B %G', $item['value']);
}
return $output;