Merge pull request #451 from nerdoc/master

Fix typo in method name "getTimestampOffset"
This commit is contained in:
Hillel Coren 2015-10-02 16:31:00 +03:00
commit 6c90d3be9c

View File

@ -330,7 +330,7 @@ class Utils
return $date->format($format); return $date->format($format);
} }
public static function getTiemstampOffset() public static function getTimestampOffset()
{ {
$timezone = new DateTimeZone(Session::get(SESSION_TIMEZONE, DEFAULT_TIMEZONE)); $timezone = new DateTimeZone(Session::get(SESSION_TIMEZONE, DEFAULT_TIMEZONE));
$datetime = new DateTime('now', $timezone); $datetime = new DateTime('now', $timezone);