Skip to content

The DateTime component incorrectly restricts years #13579

Closed

Description

@pento

Describe the bug

The DateTime component restricts years to between 1970 and 9999. It shouldn't do that.

To Reproduce

  1. Create a new post
  2. Change the publication year to 1950.

Expected behavior

The year is changed to 1950.

Additional context

Core Ticket: https://core.trac.wordpress.org/ticket/46139

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Package] Components[Type] Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions