Closed dbrattli closed 4 years ago
Hi Dag,
Nice to hear from you, hope you are well.
This issue is solved in Legivel 0.4.3, which will be available via Nuget soon. This was an easy one as it only affected the serialization target. This is mapped from the yaml timestamp tag to DateTimeOfftset.
Regards!
Hi Frank, thanks for fixing so quickly! I'm using Legivel for a new Hugo inspired project together with Feliz.ViewEngine so there's a lot of Yaml config to parse. Will test it later today.
Regards!
Description
Cannot parse to
DateTimeOffset
.Repro steps
Please provide the steps required to reproduce the problem
This will output:
Expected behavior
Expect that
DateTimeOffset
are parsed similar toDateTime
, but that time zone information is preserved.Actual behavior
Please provide a description of the actual behavior you observe.
Known workarounds
Not known. Can I register my own converter to mitigate?
Related information