From b623bdc6d3069711928b523748abb68f0d52cd92 Mon Sep 17 00:00:00 2001 From: Moriel Schottlender Date: Thu, 28 Jul 2016 15:09:16 -0700 Subject: [PATCH] Forward format to seenTime when getting 'all' types Change-Id: Id79c4403ea879bb08b0ce94d24f7bdbb8ea83560 --- includes/SeenTime.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/SeenTime.php b/includes/SeenTime.php index 6b58fcd09..dfe4171fd 100644 --- a/includes/SeenTime.php +++ b/includes/SeenTime.php @@ -48,7 +48,7 @@ class EchoSeenTime { $vals = array(); if ( $type === 'all' ) { foreach ( self::$allowedTypes as $allowed ) { - $vals[] = $this->getTime( $allowed ); + $vals[] = $this->getTime( $allowed, $flags, $format ); } return max( $vals ); @@ -63,7 +63,6 @@ class EchoSeenTime { $data = $this->user->getOption( 'echo-seen-time', false ); } } - if ( $data !== false ) { $formattedData = wfTimestamp( $format, $data ); } else {