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.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/phpBB/adm/style/timezone.js b/phpBB/adm/style/timezone.js
new file mode 100644
index 0000000000..b5e27c907c
--- /dev/null
+++ b/phpBB/adm/style/timezone.js
@@ -0,0 +1,13 @@
+(function($) { // Avoid conflicts with other libraries
+
+"use strict";
+
+$('#tz_date').change(function() {
+ phpbb.timezoneSwitchDate(false);
+});
+
+$(document).ready(
+ phpbb.timezoneEnableDateSelection
+);
+
+})(jQuery); // Avoid conflicts with other libraries