Closed (fixed)
Project:
Auto Time Zone
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 May 2006 at 23:19 UTC
Updated:
27 Jul 2006 at 18:00 UTC
The goal of this patch is to remove the "percentage" setting from autotimezone, and to instead have the module detect whether timezone data needs to be sent.
The javascript now detects whether the user's timezone needs to be updated. Now the timezone data is only sent if the timezone offset detected by the javascript does not match the user's timezone setting in Drupal. If the session variable for anonymous users is turned on, the effect is the same -- it is only updated if the javascript detects a different timezone setting.
Furthermore, if the session variable for anonymous users is turned off, and the user is anonymous, the javascript isn't even added to the page.
| Comment | File | Size | Author |
|---|---|---|---|
| remove_percentages_4.7.patch | 3.09 KB | Sage-1 |
Comments
Comment #1
moshe weitzman commentedI haven't tested yet but this makes a lot of sense.
Comment #2
LukeLast commentedGreat work, this module is looking pretty good now.
Comment #3
(not verified) commented