Commit cdbdbec7 authored by catch's avatar catch
Browse files

Issue #1876960 by dawehner: Don't concat strings in date fields settings.

parent 465924fc
......@@ -35,7 +35,7 @@ public function buildOptionsForm(&$form, &$form_state) {
$date_formats = array();
$date_types = system_get_date_formats();
foreach ($date_types as $machine_name => $value) {
$date_formats[$machine_name] = check_plain(t('@name format', array('@name' => $value['name'])) . ': ' . format_date(REQUEST_TIME, $machine_name));
$date_formats[$machine_name] = t('@name format: @date', array('@name' => $value['name'], '@date' => format_date(REQUEST_TIME, $machine_name)));
}
$form['date_format'] = array(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment