return t.getTimezone = function()

in WebPortal/Scripts/speedtest.js [896:982]


        return t.getTimezone = function () {
            var t = new Date,
  				n;
            return n = this.isDst() ? this.dstUtcOffsetToTimezoneMap[t.getTimezoneOffset().toString()] : this.stdUtcOffsetToTimezoneMap[t.getTimezoneOffset().toString()], n == null ? "" : " " + n
        }, t.stdTimezoneOffset = function () {
            var n = new Date,
  				t = new Date(n.getFullYear(), 0, 1),
  				i = new Date(n.getFullYear(), 6, 1);
            return Math.max(t.getTimezoneOffset(), i.getTimezoneOffset())
        }, t.isDst = function () {
            if (this.isDaylightSavings == null) {
                var n = new Date;
                this.isDaylightSavings = n.getTimezoneOffset() < this.stdTimezoneOffset()
            }
            return this.isDaylightSavings
        }, t.convertDateTimes = function () {
            var r = document.querySelectorAll("[data-date-ticks]"),
  				u;
            if (r && r.length !== 0)
                for (u = 0; u < r.length; u++) {
                    var i = r[u],
  						f = i.getAttribute("data-date-ticks"),
  						o = i.getAttribute("data-date-formatted"),
  						s = i.getAttribute("data-date-format");
                    if (f && f.length !== 0 && o !== "1") {
                        var h = t.chooseFormatFunction(s),
  							c = new Date(parseInt(f)),
  							e = h(c);
                        (e || e.length !== 0) && (n.setText(i, e), i.setAttribute("data-date-formatted", "1"))
                    }
                }
        }, t.getDateTime = function (n) {
            var i = t.getDate(n);
            return i += " ", i += t.getTime(n), t.getCorrectedDate(i, n)
        }, t.getLongMonthDateTime = function (n) {
            var i = t.getLongMonthDate(n);
            return i += " ", i += t.getTime(n), t.getCorrectedDate(i, n)
        }, t.getShortDateTimeWithTimezone = function (n) {
            return this.getShortDateTime(n) + this.getTimezone()
        }, t.getShortDateTime = function (n) {
            var i = t.getShortDate(n);
            return i += " ", i += t.getTime(n), t.getCorrectedDate(i, n)
        }, t.getDate = function (n) {
            return t.daysShort[n.getDay()] + " " + t.monthsShort[n.getMonth()] + " " + n.getDate()
        }, t.getLongMonthDate = function (n) {
            return t.monthsLong[n.getMonth()] + " " + n.getDate() + ", " + n.getFullYear()
        }, t.getShortDate = function (n) {
            return t.monthsShort[n.getMonth()] + " " + n.getDate()
        }, t.getTime = function (n) {
            var i = n.getHours(),
  				r = n.getMinutes(),
  				u = i >= 12,
  				f = u ? " PM" : " AM";
            return t.getHours(i).toString() + ":" + t.getMinutes(r) + f
        }, t.chooseFormatFunction = function (n) {
            return n ? n === t.shortDateString ? t.getShortDate : n === t.timeString ? t.getShortDateTime : t.getDateTime : t.getDateTime
        }, t.getCorrectedDate = function (n, t) {
            var i = n;
            return i.indexOf("NaN") > -1 && (i = t.getFullYear() > 2013 ? t.toLocaleString() : ""), i
        }, t.getHours = function (n) {
            return n > 12 ? n -= 12 : n || (n = 12), n
        }, t.getMinutes = function (n) {
            var t = n.toString();
            return t.length === 1 && (t = "0" + t), t
        }, t.shortDateString = "short", t.timeString = "time", t.monthsShort = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], t.monthsLong = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], t.daysShort = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], t.isDaylightSavings = null, t.dstUtcOffsetToTimezoneMap = {
            "180": "ADT",
            "480": "AKDT",
            "540": "HADT",
            "240": "EDT",
            "300": "CDT",
            "360": "MDT",
            "-240": "GST",
            "600": "HAST",
            "420": "PDT",
            "0": "UTC"
        }, t.stdUtcOffsetToTimezoneMap = {
            "180": "PYST",
            "480": "PST",
            "540": "AKST",
            "240": "ECT",
            "300": "EST",
            "360": "CST",
            "-240": "GST",
            "600": "HAST",
            "420": "MST",
            "0": "UTC"
        }, t