Hi all,

I would like to have your insights on how to use the "lastupdated" field
correctly in different timezones.

Our use case is that we want to export events from one instance to another,
and we want to export only the events that have been modified since the
previous export. To do that we store the export date in the DataStore in
order to use it as "lastupdated" parameter in the following export.

The doubt arises when server and client are in different timezones. We
could use the date obtained with "/api/system/info" as export date and the
following export will work correctly, but at client we were unable to show
the date adapted to their timezone because this date has no timezone. And
we would need this just in case they want to modify this date.

Is there a recommendation on how to deal with this?

Thank you in advance!

VĂ­ctor
_______________________________________________
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

Reply via email to