diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-07-25 17:35:47 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-07-25 17:35:47 +0000 |
commit | 6ea74bfe476b56a1831ba7c1ec3ac870cbf89348 (patch) | |
tree | 1baf44d807195764e70019957522bd8a5c3530ef /modules/system | |
parent | 739a8574870971b813c396080b11ef365f183fd1 (diff) | |
download | brdo-6ea74bfe476b56a1831ba7c1ec3ac870cbf89348.tar.gz brdo-6ea74bfe476b56a1831ba7c1ec3ac870cbf89348.tar.bz2 |
#149092 by Gurpartap Singh slightly modified: Usability: generalize timezone discovery to use on user registration
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/system.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/system/system.js b/modules/system/system.js index 3e0e3a501..d261b49e1 100644 --- a/modules/system/system.js +++ b/modules/system/system.js @@ -60,11 +60,6 @@ Drupal.cleanURLsInstallCheck = function() { $("#clean-url").addClass('clean-url-processed'); }; -Drupal.installDefaultTimezone = function() { - var offset = new Date().getTimezoneOffset() * -60; - $("#edit-date-default-timezone").val(offset); -}; - /** * Show/hide custom format sections on the date-time settings page. */ @@ -85,4 +80,4 @@ Drupal.behaviors.dateTime = function(context) { // Trigger the event handler to show the form input if necessary. $('select.date-format', context).trigger('change'); -};
\ No newline at end of file +}; |