Mercurial > lada > lada-client
view app/lib/Helpers.js @ 442:bba7fbcf2f70
Simplified logic in Messwert listing. No extra logic anymore to check if a "<"
char is displayed in front of the measured value. Simply dislplay the value
and value form messwertNwg.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 03 Dec 2013 11:23:15 +0100 |
parents | 60a2812568cb |
children | debfcc7713e3 |
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. if (v === null || v === undefined) { return v; } return new Date(v); } } })