[Lada-commits] [PATCH 4 of 4] merged
Wald Commits
scm-commit at wald.intevation.org
Mon Mar 23 18:04:18 CET 2015
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1427130299 -3600
# Node ID 0d5fb0f585f14ad8d19c347487cd56101b38807c
# Parent fe527f380b10550b45ff6d6902af5734e856bb36
# Parent 6160b7be468ab97ec33fc182cf241d9783c8b768
merged.
diff -r fe527f380b10 -r 0d5fb0f585f1 resources/lib/translations_de.js
--- a/resources/lib/translations_de.js Mon Mar 23 18:03:48 2015 +0100
+++ b/resources/lib/translations_de.js Mon Mar 23 18:04:59 2015 +0100
@@ -20,8 +20,19 @@
Ext.grid.RowEditor.prototype.dirtyText = "Sie müssen Ihre Änderungen Speichern oder durch Abbrechen verwerfen";
}
+// Ext has to send timezone-information when saving date-objects
+// If not: Datetime-information will be falsified when a date-object is saved
+// i.e
+// originaltime 8:00 (save) -> time+offset 9:00 (save) -> 10:00 -> etc...
+Ext.JSON.encodeDate = function(o)
+{
+ return '"' + Ext.Date.format(o, 'c') + '"';
+}
+
+
});
+
//Übersetzungsfehler
Ext.define("Ext.locale.de.toolbar.Paging", {
override: "Ext.PagingToolbar",
More information about the Lada-commits
mailing list