]> git.pld-linux.org Git - projects/pld-builder.new.git/commitdiff
- strip GMT as well
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 15 Sep 2010 18:34:10 +0000 (18:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    PLD_Builder/request_handler_server.py -> 1.23

PLD_Builder/request_handler_server.py

index 58f545b86d91ccbf9a7ab84dc9aa5fb2999c17a0..5c591f0f22c04f4c618153f47d69bf3bf707cec3 100644 (file)
@@ -151,6 +151,8 @@ function update_tz(t) {
                        // strip timezone name, it is usually wrong when not initialized
                        // from TZ env, but reverse calculated from os data
                        dt = dt.replace(/\s+\(.+\)/, "");
+                       // strip "GMT"
+                       dt = dt.replace(/GMT/, "");
                        el.innerHTML = dt;
                }
        }
This page took 0.109007 seconds and 4 git commands to generate.