Commits

Jon Nylander committed ae93621

Added a html test page that simply refreshes itself, handy for
when updating the time zone on the system.

Comments (0)

Files changed (1)

+<!doctype html>
+<html>
+<head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <script type="text/javascript" src="../jstz.min.js"></script>
+    <script type="text/javascript">
+        function detect() {
+            var tz = jstz.determine();
+            document.write(tz.name());
+            setTimeout("window.location.reload()", 2000);
+        }
+    </script>
+</head>
+<body onload="detect()">
+</body>
+</html>