diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/override/JSON.js	Tue Mar 24 12:07:35 2015 +0100
@@ -0,0 +1,18 @@
+/* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
+ * Software engineering by Intevation GmbH
+ *
+ * This file is Free Software under the GNU GPL (v>=3)
+ * and comes with ABSOLUTELY NO WARRANTY! Check out
+ * the documentation coming with IMIS-Labordaten-Application for details.
+ */
+
+
+// The Date returned by EXT-JSON serializer has to contain the timezone identifier
+
+Ext.define("Lada.override.JSON", {
+    override: 'Ext.JSON',
+    encodeDate: function(o){
+        return '"' + Ext.Date.format(o, 'c') + '"';
+    }
+});
+

http://lada.wald.intevation.org