Skip to content

Add time datatype, and maybe date too #214

@bggardner

Description

@bggardner

There are use cases where only the time portion of a datetime property is relevant, such as in a daily schedule. Using the datetime datatype is possible, but would result in an infinite number of values that would represent the same time (with different dates). The reverse could also be said about only needing the date portion, but that can more easily be resolved by setting the time portion to zero. In either case, ISO 8601 formats are established.

On the implementation side, JavaScript does not have a time class (though the HTML input type=time exists), but Python does (datetime.time). In lieu of researching other languages, would this cause heartburn with any other implementations?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions