Skip to content

Commit

Permalink
Исправление пути к логу
Browse files Browse the repository at this point in the history
  • Loading branch information
Afinogen committed Feb 11, 2023
1 parent 968be34 commit 0b3d3ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ $('#startMeasure').on('click', function () {
};

csvWriter = createCsvWriter({
path: './logs/' + (new Date()).toLocaleString('ru', optionsDate) + ' ' + (new Date()).toLocaleString('ru', optionsTime) + '.csv',
path: ('./logs/' + (new Date()).toLocaleString('ru', optionsDate) + ' ' + (new Date()).toLocaleString('ru', optionsTime) + '.csv').replaceAll(':', ''),
fieldDelimiter: ';',
header: [
{id: 'time', title: 'TIME'},
Expand Down

0 comments on commit 0b3d3ca

Please sign in to comment.