From 9be56b58b82641549e046bdd91124cdb2762087f Mon Sep 17 00:00:00 2001 From: "Jan T. Sott" Date: Mon, 25 Dec 2023 11:53:53 +0100 Subject: [PATCH] fix: re-add noDate option --- src/webvsc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webvsc.ts b/src/webvsc.ts index 1999808..ea72f24 100644 --- a/src/webvsc.ts +++ b/src/webvsc.ts @@ -28,7 +28,7 @@ export function convertPreset(data: Buffer | ArrayBuffer, presetName: string, pr return { name: presetName, - date: presetDate ? presetDate.toISOString() : undefined, + date: args.noDate ? undefined : presetDate?.toISOString(), clearFrame: decode.presetHeader(blob8.subarray(0, config.presetHeaderLength)), components: Util.convertComponents(blob8.subarray(config.presetHeaderLength)) };