From 63d3c7aea1a49402fe93a5912958ec1e563def7b Mon Sep 17 00:00:00 2001
From: sepehrmm <sepehrmm@1150142.no-reply.drupal.org>
Date: Sat, 2 Jun 2012 14:25:05 +0430
Subject: [PATCH] Issue #1521574: Fixed incorrect local time bug.

---
 clock.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/clock.js b/clock.js
index aedf9b9..42e39ac 100644
--- a/clock.js
+++ b/clock.js
@@ -31,7 +31,7 @@ Drupal.behaviors.clockDisplay = function (context) {
   // JavaScript returns the time zone offset reversely signed as PHP,
   // therefore we calculate the difference in the absolute values by adding
   // the two numbers.
-  if (!Drupal.settings['local']) {
+  if (!settings['local']) {
     date = new Date(date.getTime() + (offsetSeconds/60 + date.getTimezoneOffset())*60000);
   }
 
-- 
1.7.7.3

