Commit 59345902 authored by Karim Ratib's avatar Karim Ratib Committed by Damien McKenna
Browse files

Issue #2026449 by infojunkie, Andrew Answer, Chris Matthews, DamienMcKenna,...

Issue #2026449 by infojunkie, Andrew Answer, Chris Matthews, DamienMcKenna, RenatoG: Make date handler custom date format translatable.
parent d6dff0a8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -206,7 +206,7 @@ class views_handler_field_date extends views_handler_field {
          if ($custom_format == 'r') {
            return format_date($value, $format, $custom_format, $timezone, 'en');
          }
          return format_date($value, $format, $custom_format, $timezone);
          return format_date($value, $format, t($custom_format), $timezone);

        default:
          // The custom format is not used in this scenario.