Skip to content

DatePicker does not accept date object as value #42

@mikaelho

Description

@mikaelho

DatePicker._set_attronly handles datetime objects, should also expect date objects (check whether object is instance of date, as datetime is a subclass of date).

Also, using datetime value for a DatePicker is confusing as browsers will helpfully look at user's timezone and store the UTC value here (which might actually have a different date than the one picked).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions