Public bug reported:
/api/events?program=ProgramUID&skipMeta=true&skipPaging=true&fields=event,status,eventDate,created,lastUpdated,program,programStage,orgUnit,dataValues[dataElement,value]
generates eventDates with one day less.
If the eventDate was 2016-07-19, then a date of 2016-07-18 is generated.
The api/events/eventUID endpoint works fine.
This affects 2.23 build
23044
** Affects: dhis2
Importance: Undecided
Status: New
** Tags: 2.23 dhis2
--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1604589
Title:
events API endpoint with program specified gives eventDate less by 1
Status in DHIS:
New
Bug description:
/api/events?program=ProgramUID&skipMeta=true&skipPaging=true&fields=event,status,eventDate,created,lastUpdated,program,programStage,orgUnit,dataValues[dataElement,value]
generates eventDates with one day less.
If the eventDate was 2016-07-19, then a date of 2016-07-18 is generated.
The api/events/eventUID endpoint works fine.
This affects 2.23 build
23044
To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1604589/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp