From 49474778bd6a200265008d57ff742c977231f314 Mon Sep 17 00:00:00 2001 From: euromark Date: Wed, 9 Apr 2014 06:21:20 +0200 Subject: [PATCH] remove depreated userOffset --- src/Utility/Time.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Utility/Time.php b/src/Utility/Time.php index fb9cf9037f4..3ca9607e7c8 100644 --- a/src/Utility/Time.php +++ b/src/Utility/Time.php @@ -608,7 +608,6 @@ public static function toRSS($dateString, $timezone = null) { * - `end` => The end of relative time telling * - `relativeString` => The printf compatible string when outputting relative time * - `absoluteString` => The printf compatible string when outputting absolute time - * - `userOffset` => Users offset from GMT (in hours) *Deprecated* use timezone intead. * - `timezone` => The user timezone the timestamp should be formatted in. * * Relative dates look something like this: @@ -638,8 +637,6 @@ public static function timeAgoInWords($dateTime, array $options = []) { if (isset($options['timezone'])) { $timezone = $options['timezone']; - } elseif (isset($options['userOffset'])) { - $timezone = $options['userOffset']; } if (isset($options['accuracy'])) {