Skip to content

Warn when using obsolete DateTime field #831

@PanderMusubi

Description

@PanderMusubi

Actual Behavior

DateTime field is supported. However, according to https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types at the bottom, it says input type datetime is obsolete now.

Expected Behavior

Print a deprecation warning when a DateTime field is used and that it should be replaces with a DateTimeLocal field.

Environment

  • Python version: 3.10
  • wtforms version: 3.1.2

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