aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style/timezone.js
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/adm/style/timezone.js')
-rw-r--r--phpBB/adm/style/timezone.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/phpBB/adm/style/timezone.js b/phpBB/adm/style/timezone.js
new file mode 100644
index 0000000000..4556ea5f94
--- /dev/null
+++ b/phpBB/adm/style/timezone.js
@@ -0,0 +1,11 @@
+(function($) { // Avoid conflicts with other libraries
+
+$('#tz_date').change(function() {
+ phpbb.timezone_switch_date(false);
+});
+
+$(document).ready(
+ phpbb.timezone_enable_date_selection
+);
+
+})(jQuery); // Avoid conflicts with other libraries