From d73f72b52cfff9b833a922a166d105be7d8a357d Mon Sep 17 00:00:00 2001 From: NicolausVanSchie Date: Sun, 29 Apr 2018 18:26:02 +1000 Subject: [PATCH] changes the path to use iso string, as locale string has /s --- audio-recorder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio-recorder.js b/audio-recorder.js index 632224d..a3cfa54 100644 --- a/audio-recorder.js +++ b/audio-recorder.js @@ -111,7 +111,7 @@ exports.AudioRecorder = class AudioRecorder extends EventEmitter { console.log(`Recorder ${this.index} started`) console.log(`Recorder ${this.index} was ${this.active} active`) - let filename = path.join(this.workspacePath, `ODAS_${id}_${new Date().toLocaleString()}_${this.suffix}.wav`) + let filename = path.join(this.workspacePath, `ODAS_${id}_${new Date().toISOString()}_${this.suffix}.wav`) this.path = filename try { -- 2.34.1