Skip to content

Commit

Permalink
remove depreated userOffset
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Apr 9, 2014
1 parent ab54d6f commit 4947477
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Utility/Time.php
Expand Up @@ -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:
Expand Down Expand Up @@ -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'])) {
Expand Down

0 comments on commit 4947477

Please sign in to comment.