Skip to content

Special structs for Date and DateTime #46

@MEmanuelsson

Description

@MEmanuelsson

I raised this issue (schemaorg/schemaorg#2240) on the schemaorg github repo yesterday regarding how to handle Date which only consists of a year in the Schema.NET implementation of schemaorg. Following the comment from RichardWallis I believe it would be a good idea to create special structs to handle Date and DateTime in the schemas where these are applicable since DateTimeOffset (now being used) always contains a complete date and time. Any thoughts around this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementIssues describing an enhancement or pull requests adding an enhancement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions