diff --git a/src/shared/utils/serializer.ts b/src/shared/utils/serializer.ts index afda65dc..a2ae6fd5 100644 --- a/src/shared/utils/serializer.ts +++ b/src/shared/utils/serializer.ts @@ -26,6 +26,10 @@ export const serialize = (value: VAL): Serialized => { return value.map(v => serialize(v) as Serialized) as Serialized; } + if (value instanceof Date) { + return value.toString() as Serialized; + } + if (isMessage(value)) { return { proto: value.getType().typeName,