Mercurial > lada > lada-client
comparison app/override/JSON.js @ 679:60a3e9809ea4
moved code from translations_de.js into proper overrides
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Tue, 24 Mar 2015 12:07:35 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
676:0d5fb0f585f1 | 679:60a3e9809ea4 |
---|---|
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz | |
2 * Software engineering by Intevation GmbH | |
3 * | |
4 * This file is Free Software under the GNU GPL (v>=3) | |
5 * and comes with ABSOLUTELY NO WARRANTY! Check out | |
6 * the documentation coming with IMIS-Labordaten-Application for details. | |
7 */ | |
8 | |
9 | |
10 // The Date returned by EXT-JSON serializer has to contain the timezone identifier | |
11 | |
12 Ext.define("Lada.override.JSON", { | |
13 override: 'Ext.JSON', | |
14 encodeDate: function(o){ | |
15 return '"' + Ext.Date.format(o, 'c') + '"'; | |
16 } | |
17 }); | |
18 |