Compare commits
No commits in common. "f393b61ca659f82fe4aece357867bc10531cc55c" and "6a4ea225c487e7547211524a3e7c85e5bb70046a" have entirely different histories.
f393b61ca6
...
6a4ea225c4
|
@ -129,7 +129,6 @@ if (process.env.NODE_ENV !== config.test.env) {
|
||||||
useMongoClient: true
|
useMongoClient: true
|
||||||
});
|
});
|
||||||
mongoosePromise.then((db) => {
|
mongoosePromise.then((db) => {
|
||||||
process.env.TZ = 'Europe/Berlin';
|
|
||||||
app.listen(config.test.port);
|
app.listen(config.test.port);
|
||||||
console.log('Listening on port ' + config.test.port);
|
console.log('Listening on port ' + config.test.port);
|
||||||
})
|
})
|
||||||
|
|
|
@ -67,7 +67,7 @@ const parseWarLog = (lineArray, war) => {
|
||||||
stats.war['endBudgetOpfor'] = transformMoneyString(budg[14]);
|
stats.war['endBudgetOpfor'] = transformMoneyString(budg[14]);
|
||||||
war.endDate = new Date(budg[0].substr(0, budg[0].length - 1).split('/').join('-') + 'T0' + budg[5]);
|
war.endDate = new Date(budg[0].substr(0, budg[0].length - 1).split('/').join('-') + 'T0' + budg[5]);
|
||||||
} else if (line.includes('Startbudget')) {
|
} else if (line.includes('Startbudget')) {
|
||||||
stats.war.date = new Date(budg[0].substr(0, budg[0].length - 1).split('/').join('-') + 'T22:00:00.000');
|
stats.war.date = new Date(budg[0].substr(0, budg[0].length - 1).split('/').join('-') + 'T22:00:00.000+02:00');
|
||||||
stats.war['budgetBlufor'] = transformMoneyString(budg[11]);
|
stats.war['budgetBlufor'] = transformMoneyString(budg[11]);
|
||||||
stats.war['budgetOpfor'] = transformMoneyString(budg[14]);
|
stats.war['budgetOpfor'] = transformMoneyString(budg[14]);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue