mirror of
https://github.com/documenso/documenso.git
synced 2025-11-17 18:21:32 +10:00
date format select added
This commit is contained in:
@ -58,7 +58,7 @@ export const signFieldWithToken = async ({
|
||||
const typedSignature = isSignatureField && !isBase64 ? value : undefined;
|
||||
|
||||
if (field.type === FieldType.DATE) {
|
||||
customText = DateTime.now().toFormat('yyyy-MM-dd hh:mm a');
|
||||
customText = DateTime.now().toFormat(value);
|
||||
}
|
||||
|
||||
await prisma.field.update({
|
||||
|
||||
Reference in New Issue
Block a user