Skip to content

Commit

Permalink
"time" is really "full-time", don't include
Browse files Browse the repository at this point in the history
  • Loading branch information
brantburnett committed Feb 1, 2025
1 parent 759f263 commit d804f36
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ protected override YardarmTypeInfo GetTypeInfo() =>
Element.Element.Format switch
{
"date" or "full-date" => Context.Options.LegacyDateTimeHandling ? DateTime : DateOnly,
"partial-time" or "time" => Context.Options.LegacyDateTimeHandling ? TimeSpan : TimeOnly,
"partial-time" => Context.Options.LegacyDateTimeHandling ? TimeSpan : TimeOnly,
"date-span" => TimeSpan,
"date-time" => DateTimeOffset,
"uuid" => Guid,
Expand Down

0 comments on commit d804f36

Please sign in to comment.