Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 17 years ago

#9120 closed defect (bug) (fixed)

Quick Edit > Date > Year filed accepts 5 digits!

Reported by: sushubh Owned by:
Priority: normal Milestone: 2.8
Component: Quick/Bulk Edit Version: 2.7
Severity: normal Keywords: has-patch commit
Cc: Focuses:

Description

I do not believe why the year field should accept five fields.

Attachments (2)

date.png​ (2.5 KB ) - added by sushubh 18 years ago.
html code for the field!
9120.diff​ (1.2 KB ) - added by sivel 18 years ago.
limit year to 4 characters

Download all attachments as: .zip

Change History (5)

@sushubh
18 years ago

html code for the field!

@sivel
18 years ago

limit year to 4 characters

#1 @sivel
18 years ago

  • Keywords has-patch commit added; quick edit removed

#2 @ryan
18 years ago

  • Resolution → fixed
  • Status new → closed

(In [10716]) Limit year field to 4 digits. Props sivel. fixes #9120

#3 @ryan
18 years ago

Can't think of any calendars that will need 5 digits with the next several millenia. Gregorian, Hebrew, and Jalali all fit within 4.

Note: See TracTickets for help on using tickets.