Release v1.6.6 - Fix parse war end time #21
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"apps": [
|
||||||
|
{
|
||||||
|
"name": "opt-cc",
|
||||||
|
"script": "./api/server.js",
|
||||||
|
"watch": false,
|
||||||
|
"env": {
|
||||||
|
"TZ": "Europe/Berlin"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -68,10 +68,6 @@ const parseWarLog = (lineArray, war) => {
|
||||||
stats.war['endBudgetBlufor'] = transformMoneyString(budg[11]);
|
stats.war['endBudgetBlufor'] = transformMoneyString(budg[11]);
|
||||||
stats.war['endBudgetOpfor'] = transformMoneyString(budg[14]);
|
stats.war['endBudgetOpfor'] = transformMoneyString(budg[14]);
|
||||||
stats.war.endDate = getFullTimeDate(war.date, budg[5]);
|
stats.war.endDate = getFullTimeDate(war.date, budg[5]);
|
||||||
|
|
||||||
console.log(stats.war.date);
|
|
||||||
console.log(budg[5]);
|
|
||||||
console.log(stats.war.endDate);
|
|
||||||
} else {
|
} else {
|
||||||
stats.budget.push(getBudgetEntry(budg, war._id, war.date));
|
stats.budget.push(getBudgetEntry(budg, war._id, war.date));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue