From 470f23b82c50fbbbb3eadb1138c5164ee6d8b9d3 Mon Sep 17 00:00:00 2001 From: AlBundy33 <6294586+AlBundy33@users.noreply.github.com> Date: Fri, 3 Mar 2023 10:01:55 +0100 Subject: [PATCH] write LastModTime base64 encoded to fix error message in keepass see https://github.com/keeweb/kdbxweb/issues/49 --- lib/format/kdbx-custom-data.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/format/kdbx-custom-data.ts b/lib/format/kdbx-custom-data.ts index 8baaaec..1c87b74 100644 --- a/lib/format/kdbx-custom-data.ts +++ b/lib/format/kdbx-custom-data.ts @@ -35,7 +35,8 @@ export class KdbxCustomData { if (item.lastModified && ctx.kdbx.versionIsAtLeast(4, 1)) { XmlUtils.setDate( XmlUtils.addChildNode(itemNode, XmlNames.Elem.LastModTime), - item.lastModified + item.lastModified, + true ); } }