Skip to content

DatePicker does not accept date object as value #42

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions