diff --git a/Property/Converter/index.ts b/Property/Converter/index.ts index 83b4f74..6d8efd7 100644 --- a/Property/Converter/index.ts +++ b/Property/Converter/index.ts @@ -1,3 +1,4 @@ +import { isoly } from "isoly" import { Payload } from "../../Payload" import { Configuration as ConverterConfiguration } from "./Configuration" @@ -33,4 +34,8 @@ export class Converter = Record isoly.DateTime.epoch(value, "seconds"), + decode: (value: number) => isoly.DateTime.create(value), + } }