Release v1.6.6 - Fix parse war end time #21

Merged
hardi merged 1 commits from release/v1.6.6 into master 2017-12-10 16:00:57 +01:00
2 changed files with 12 additions and 4 deletions

12
api/pm2-start.json Normal file
View File

@ -0,0 +1,12 @@
{
"apps": [
{
"name": "opt-cc",
"script": "./api/server.js",
"watch": false,
"env": {
"TZ": "Europe/Berlin"
}
}
]
}

View File

@ -68,10 +68,6 @@ const parseWarLog = (lineArray, war) => {
stats.war['endBudgetBlufor'] = transformMoneyString(budg[11]);
stats.war['endBudgetOpfor'] = transformMoneyString(budg[14]);
stats.war.endDate = getFullTimeDate(war.date, budg[5]);
console.log(stats.war.date);
console.log(budg[5]);
console.log(stats.war.endDate);
} else {
stats.budget.push(getBudgetEntry(budg, war._id, war.date));
}