view app/lib/Helpers.js @ 370:1179b3a1251b

Alway send filter parameters to proben service.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 16 Aug 2013 15:19:09 +0200
parents 1e1ee8abf91b
children 60a2812568cb
line wrap: on
line source
/**
 * Helper class
 * This class provides some globally used functions.
*/
Ext.define('Lada.lib.Helpers', {
    statics: {
        /**
         * Function to translate a timestamp into a date
         */
        ts2date: function(v, record){
            // Converts a timestamp into a date object.
            return new Date(v);
        }
    }
})

http://lada.wald.intevation.org