From 8d2e68b40e362650f388b75a1a01c86768d9d483 Mon Sep 17 00:00:00 2001 From: Carsten Brandt <mail@cebe.cc> Date: Mon, 24 Feb 2014 17:18:43 +0100 Subject: [PATCH] removed duplicate arguments from base formattter --- framework/base/Formatter.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/base/Formatter.php b/framework/base/Formatter.php index d079b5b..7214cb5 100644 --- a/framework/base/Formatter.php +++ b/framework/base/Formatter.php @@ -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); } /** -- libgit2 0.27.1