All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.n2o.plugins.timezone.js Maven / Gradle / Ivy

define([
    'underscore',
    'jquery',
    'n2o/tools/class',
    'infect'
], function (_, $, Class, infect) {
    "use strict";

    var timezone;
    return Class.extend({

        constructor: function () {
            this.timezone = infect.get("application").options.timezone || moment.tz.guess();
        },
        set: function (value) {
            this.timezone = value;
        },
        get: function () {
            return this.timezone;
        }
    });

});




© 2015 - 2024 Weber Informatics LLC | Privacy Policy