trackedEntityInstances date and time filter

Hi,

We are using the endpoint trackedEntityInstances and we want to filter by date and time using lastUpdatedStartDate=2018-10-30T18:05:00 but it doesn’t take into account the time, only the date. Is this the expected behaviour?

Thank you!

Tomàs Sala Camarena

Ehealth Technician, eHealth Team

eHealth & Operations Applications (´Apps4OPS´)

Projects & IT Unit

Médecins Sans Frontières (MSF) Spain – Barcelona Office

Fixed: +34 933 213 043

Email / Skype: tomas.sala@barcelona.msf.org - www.msf.org

Hi,

Yes, expected behavior.

···

Abyot A. Gizaw.

Senior Engineer, DHIS2

University of Oslo

http://www.dhis2.org

Hi,

Ok, thanks!

···

Hi,

Yes, expected behavior.

Abyot A. Gizaw.

Senior Engineer, DHIS2

University of Oslo

http://www.dhis2.org

On Wed, Oct 31, 2018 at 1:29 PM Tomas Sala tomas.sala@barcelona.msf.org wrote:

Hi,

We are using the endpoint trackedEntityInstances and we want to filter by date and time using lastUpdatedStartDate=2018-10-30T18:05:00 but it doesn’t take into account the time, only the date. Is this the expected behaviour?

Thank you!

Tomàs Sala Camarena

Ehealth Technician, eHealth Team

eHealth & Operations Applications (´Apps4OPS´)

Projects & IT Unit

Médecins Sans Frontières (MSF) Spain – Barcelona Office

Fixed: +34 933 213 043

Email / Skype: tomas.sala@barcelona.msf.org - www.msf.org


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

Hi,

Is it possible to filter by the lastUpdated (date and time) of the trackedEntityInstances using the endpoint trackedEntityInstances?

<trackedEntityInstance created=“2018-10-31T13:03:12.137” orgUnit=“G7g4TvbjFlX” createdAtClient=“2018-10-31T13:04:28.701” trackedEntityInstance=“iLlGg5SjJY1” lastUpdated=“2018-10-31T13:04:28.701” trackedEntityType="sD7b8KtOogp"lastUpdatedAtClient=“2018-10-31T13:04:28.701”>

Thanks!

···

De: Dhis2-devs [mailto:dhis2-devs-bounces+tomas.sala=barcelona.msf.org@lists.launchpad.net] En nombre de Tomas Sala

Enviado el: 31 October 2018 13:34

Para: Abyot Asalefew Gizaw

CC: dhis2-devs

Asunto: Re: [Dhis2-devs] trackedEntityInstances date and time filter

Hi,

Ok, thanks!

De: Abyot Asalefew Gizaw [mailto:abyot@dhis2.org]

Enviado el: 31 October 2018 13:31

Para: Tomas Sala

CC: dhis2-devs

Asunto: Re: [Dhis2-devs] trackedEntityInstances date and time filter

Hi,

Yes, expected behavior.

Abyot A. Gizaw.

Senior Engineer, DHIS2

University of Oslo

http://www.dhis2.org

On Wed, Oct 31, 2018 at 1:29 PM Tomas Sala tomas.sala@barcelona.msf.org wrote:

Hi,

We are using the endpoint trackedEntityInstances and we want to filter by date and time using lastUpdatedStartDate=2018-10-30T18:05:00 but it doesn’t take into account the time, only the date. Is this the expected behaviour?

Thank you!

Tomàs Sala Camarena

Ehealth Technician, eHealth Team

eHealth & Operations Applications (´Apps4OPS´)

Projects & IT Unit

Médecins Sans Frontières (MSF) Spain – Barcelona Office

Fixed: +34 933 213 043

Email / Skype: tomas.sala@barcelona.msf.org - www.msf.org


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

Hi,

So far, time is not considered for filtering everywhere. It is a little complicated to deal with timestamp / timezone. There is internal discussion about it … a solution is yet to come.

···

Abyot A. Gizaw.

Senior Engineer, DHIS2

University of Oslo

http://www.dhis2.org

On Wed, Oct 31, 2018 at 1:38 PM Tomas Sala tomas.sala@barcelona.msf.org wrote:

Hi,

Is it possible to filter by the lastUpdated (date and time) of the trackedEntityInstances using the endpoint trackedEntityInstances?

<trackedEntityInstance created=“2018-10-31T13:03:12.137” orgUnit=“G7g4TvbjFlX” createdAtClient=“2018-10-31T13:04:28.701” trackedEntityInstance=“iLlGg5SjJY1” lastUpdated=“2018-10-31T13:04:28.701” trackedEntityType="sD7b8KtOogp"lastUpdatedAtClient=“2018-10-31T13:04:28.701”>

Thanks!

De: Dhis2-devs [mailto:dhis2-devs-bounces+tomas.sala=barcelona.msf.org@lists.launchpad.net] En nombre de Tomas Sala

Enviado el: 31 October 2018 13:34

Para: Abyot Asalefew Gizaw

CC: dhis2-devs

Asunto: Re: [Dhis2-devs] trackedEntityInstances date and time filter

Hi,

Ok, thanks!

De: Abyot Asalefew Gizaw [mailto:abyot@dhis2.org]

Enviado el: 31 October 2018 13:31

Para: Tomas Sala

CC: dhis2-devs

Asunto: Re: [Dhis2-devs] trackedEntityInstances date and time filter

Hi,

Yes, expected behavior.

Abyot A. Gizaw.

Senior Engineer, DHIS2

University of Oslo

http://www.dhis2.org

On Wed, Oct 31, 2018 at 1:29 PM Tomas Sala tomas.sala@barcelona.msf.org wrote:

Hi,

We are using the endpoint trackedEntityInstances and we want to filter by date and time using lastUpdatedStartDate=2018-10-30T18:05:00 but it doesn’t take into account the time, only the date. Is this the expected behaviour?

Thank you!

Tomàs Sala Camarena

Ehealth Technician, eHealth Team

eHealth & Operations Applications (´Apps4OPS´)

Projects & IT Unit

Médecins Sans Frontières (MSF) Spain – Barcelona Office

Fixed: +34 933 213 043

Email / Skype: tomas.sala@barcelona.msf.org - www.msf.org


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