fix: add removed date formats (#2049)

Add date formats that were removed in a prior pull request causing
issues with certain API requests.
This commit is contained in:
Lucas Smith
2025-09-26 09:56:46 +10:00
committed by GitHub
parent f3305ac306
commit 681540b501
4 changed files with 51 additions and 11 deletions

View File

@ -504,7 +504,7 @@ test('[DOCUMENT_FLOW]: should be able to sign a document with custom date', asyn
},
});
const insertedDate = DateTime.fromFormat(field?.customText ?? '', 'yyyy-MM-dd HH:mm');
const insertedDate = DateTime.fromFormat(field?.customText ?? '', 'yyyy-MM-dd hh:mm a');
expect(Math.abs(insertedDate.diff(now).minutes)).toBeLessThanOrEqual(1);