Merge authors: Jan Henrik Øverland (janhenrik-overland) ------------------------------------------------------------ revno: 17456 [merge] committer: Jan Henrik Overland <janhenrik.overl...@gmail.com> branch nick: dhis2 timestamp: Thu 2014-11-13 08:18:54 +0100 message: GIS event layer start date tmp fix. Work in progress. modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-mapping/scripts/app.js
-- lp:dhis2 https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk Your team DHIS 2 developers is subscribed to branch lp:dhis2. To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-mapping/scripts/app.js' --- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-mapping/scripts/app.js 2014-11-10 16:03:39 +0000 +++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-mapping/scripts/app.js 2014-11-13 07:17:37 +0000 @@ -4619,12 +4619,13 @@ labelSeparator: '', columnWidth: 0.5, height: 41, - value: function() { - var greg = $.calendars.instance('gregorian'), - date = greg.parseDate('yyyy-mm-dd', (new Date( (new Date()).setMonth( (new Date()).getMonth() - 3))).toJSON().slice(0,10)); + //value: function() { + ////var greg = $.calendars.instance('gregorian'), + //var date = gis.init.calendar.parseDate('yyyy-mm-dd', (new Date( (new Date()).setMonth( (new Date()).getMonth() - 3))).toJSON().slice(0,10)); - return gis.init.calendar.formatDate(gis.init.systemInfo.dateFormat, date); - }(), + //return gis.init.calendar.formatDate(gis.init.systemInfo.dateFormat, date); + //}(), + value: gis.init.calendar.formatDate(gis.init.systemInfo.dateFormat, gis.init.calendar.today()), listeners: { render: function(c) { onDateFieldRender(c);
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp