Skip to content

Commit

Permalink
merging with changes made in facility-recon-datim
Browse files Browse the repository at this point in the history
  • Loading branch information
ashaban committed Oct 4, 2018
1 parent 1e93beb commit f22d94a
Show file tree
Hide file tree
Showing 14 changed files with 846 additions and 1,153 deletions.
6 changes: 5 additions & 1 deletion dhis2sync/loadDHIS2Metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ async function processMetaData() {
if ( !nconf.get("full") && hasKey ) {
lastUpdate = await getLastUpdate()
// Convert to yyyy-mm-dd format (dropping time as it is ignored by DHIS2)
lastUpdate = new Date( Date.parse( lastUpdate ) ).toISOString().substr(0,10)
try {
lastUpdate = new Date(Date.parse(lastUpdate)).toISOString().substr(0, 10)
} catch(err) {
console.log(err)
};
}

let uflag = 'false'
Expand Down
50 changes: 0 additions & 50 deletions facility-recon-backend/config/default_multiple_instances.json

This file was deleted.

Loading

0 comments on commit f22d94a

Please sign in to comment.