diff app/model/Messprogramm.js @ 1207:05c8bd380fd5

Align data model with 1-based day of year in server.
author Tom Gottfried <tom@intevation.de>
date Fri, 30 Sep 2016 18:43:30 +0200
parents 0a7f0a09151c
children 4270da0f7d3b
line wrap: on
line diff
--- a/app/model/Messprogramm.js	Fri Sep 30 15:08:12 2016 +0200
+++ b/app/model/Messprogramm.js	Fri Sep 30 18:43:30 2016 +0200
@@ -61,6 +61,8 @@
     }, {
         name: 'intervallOffset'
     }, {
+        /* day of year is 0-base in ExtJS, but 1-based in Java.
+         * Thus, we expect 1-based values here. */
         name: 'gueltigVon'
     }, {
         name: 'gueltigBis'

http://lada.wald.intevation.org