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

+
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'] %] @@ -33,7 +47,15 @@ $(document).ready(function(){ yearRange: "-80:+0", dateFormat: $.datepicker.ATOM, firstDay: 1, - showOn: "both", + showOn: "both" + }); + $("#tzcategory").change(function(){ + $.get("/jsrpc/tzcountries/" + $(this).val(),function(xml){ + $("#tzcountry").empty(); + $("country",xml).each(function(i){ + $("#tzcountry").append(''); + }); + }); }); });