removed duplicate arguments from base formattter

This commit is contained in:
Carsten Brandt
2014-02-24 17:18:43 +01:00
parent 1be42eef72
commit 8d2e68b40e

View File

@ -269,7 +269,7 @@ class Formatter extends Component
return $this->nullDisplay;
}
$value = $this->normalizeDatetimeValue($value);
return $this->formatTimestamp($value, $format === null ? $this->dateFormat : $format, $value);
return $this->formatTimestamp($value, $format === null ? $this->dateFormat : $format);
}
/**
@ -293,7 +293,7 @@ class Formatter extends Component
return $this->nullDisplay;
}
$value = $this->normalizeDatetimeValue($value);
return $this->formatTimestamp($value, $format === null ? $this->timeFormat : $format, $value);
return $this->formatTimestamp($value, $format === null ? $this->timeFormat : $format);
}
/**
@ -317,7 +317,7 @@ class Formatter extends Component
return $this->nullDisplay;
}
$value = $this->normalizeDatetimeValue($value);
return $this->formatTimestamp($value, $format === null ? $this->datetimeFormat : $format, $value);
return $this->formatTimestamp($value, $format === null ? $this->datetimeFormat : $format);
}
/**