You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.
Not sure where you are updating the value of 'lastUpdated' - is that the time of the server running dhis2-python or the dhis2 server? Noting that in when doing this once for CSD when had two servers in different timezones and the date/time was a problem. I know you are only doing date here, but could still end up with two different dates even b/c of timezones.
So this part of the code will just take the lastUpdated property directly from the mCSD configuration file.
If you want to be able to more dynamically adjust the lastUpdated you can also use the --last-updated XX parameter to the tool. This will just be sent directly into dhis2.
So yes, there could definitely be timezone considerations here, but the tools is agnostic about it.
We are at this point not planning on adding a "persisted timestamp" of when the last successful export occurred, but it is something we can look into in the future.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Not sure where you are updating the value of 'lastUpdated' - is that the time of the server running dhis2-python or the dhis2 server? Noting that in when doing this once for CSD when had two servers in different timezones and the date/time was a problem. I know you are only doing date here, but could still end up with two different dates even b/c of timezones.
dhis2-python/dhis2_core/src/dhis2/facility_list/mcsd.py
Line 31 in b17d7af
The text was updated successfully, but these errors were encountered: