X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=root%2Fsrc%2Fsettings%2Findex.tt2;h=4e1c96f833135b08ff7f97a8236f46c53c7452d4;hb=6867746786c828ba3bbbb8bcdf8709189efeeb1a;hp=6291e33cddcf3684b067b4da5f943167687e9a85;hpb=eb3bda37d084c0e6b13c97f88f06d5563c40d2fb;p=ndwebbie.git diff --git a/root/src/settings/index.tt2 b/root/src/settings/index.tt2 index 6291e33..4e1c96f 100644 --- a/root/src/settings/index.tt2 +++ b/root/src/settings/index.tt2 @@ -23,7 +23,7 @@

-
Timezone +
Timezone -
+ +

+

Remember that GMT stays the same all year, so if you're in the UK you should pick Europe/London.

-
+
[%- site.stylesheets = ['ui/ui.datepicker.css'] %] @@ -50,12 +52,23 @@ $(document).ready(function(){ showOn: "both" }); $("#tzcategory").change(function(){ - $.get("/jsrpc/tzcountries/" + $(this).val(),function(xml){ + if ($(this).val() == 'GMT'){ + $("#timezone").val($(this).val()); $("#tzcountry").empty(); - $("country",xml).each(function(i){ - $("#tzcountry").append(''); + }else{ + $.get("/jsrpc/tzcountries/" + $(this).val(),function(xml){ + $("#tzcountry").empty(); + $("country",xml).each(function(i){ + var opt = $('