Mercurial > lada > lada-client
diff app/view/window/GenProbenFromMessprogramm.js @ 761:975183ab775e
Sending Date as timestamp
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Fri, 08 May 2015 11:49:15 +0200 |
parents | 2e7e1a8bf79f |
children | 18697326c862 |
line wrap: on
line diff
--- a/app/view/window/GenProbenFromMessprogramm.js Fri May 08 11:38:00 2015 +0200 +++ b/app/view/window/GenProbenFromMessprogramm.js Fri May 08 11:49:15 2015 +0200 @@ -36,8 +36,8 @@ handler: function() { var jsondata = { id: me.record.id, - start: me.down('datetime [name=start]').getValue(), - end: me.down('datetime [name=end]').getValue() + start: new Date(me.down('datetime [name=start]').getValue()).valueOf(), + end: new Date(me.down('datetime [name=end]').getValue()).valueOf() };