torsten@297: /** torsten@297: * Helper class torsten@297: * This class provides some globally used functions. torsten@297: */ torsten@297: Ext.define('Lada.lib.Helpers', { torsten@297: statics: { torsten@297: /** torsten@297: * Function to translate a timestamp into a date torsten@297: */ torsten@297: ts2date: function(v, record){ torsten@297: // Converts a timestamp into a date object. torsten@297: return new Date(v); torsten@297: } torsten@297: } torsten@297: })