Opened 4 years ago

Closed 4 years ago

Last modified 4 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:

Description

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

Attachments (2)

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

Download all attachments as: .zip

Change History (5)

sushubh4 years ago

html code for the field!

sivel4 years ago

limit year to 4 characters

  • Keywords has-patch commit added; quick edit removed

comment:2   ryan4 years ago

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:3   ryan4 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.