Skip to content

Commit

Permalink
Removed function which is not being used anywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
magicmonkey committed Apr 29, 2012
1 parent 00cdc75 commit 3d254c2
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/system/application/libraries/Timezone.php
Expand Up @@ -12,18 +12,6 @@ public function __construct() {
$this->CI=&get_instance();
}

/**
* Return the difference from UTC for my machine
* @param $tz integer Timezone string
*/
private function _getMyTimeDiff($tz=null) {
if (!$tz) { $tz=date_default_timezone_get(); }
$here = new DateTimeZone($tz);
$there = new DateTimeZone('UTC');
$offset = $here->getOffset(new DateTime("now", $here))-$there->getOffset(new DateTime("now", $there));

return $offset;
}
/**
* Find the local time at the event...
* @param $evt_offset integer Event's offset from UTC
Expand Down

0 comments on commit 3d254c2

Please sign in to comment.