Ticket #54 (new enhancement)

Opened 3 years ago

Last modified 3 years ago

Extend the DatePartsInput widget to work with 2-char years

Reported by: Matt Goodall <matt@pollenation.net> Assigned to: somebody
Priority: high Milestone:
Component: widgets Version:
Severity: normal Keywords:
Cc: jbauer@rubic.com

Description

The default should definitely be that an unambiguous 4-char year is entered (see changeset [126]). However, if the twoCharCutoffYear attribute is set to some number then it can flick into allowing 2-char years.

It would be good be provide a hint about what the cutoff year year is in the description or something.

If it looks like the DatePartsInput? widget is getting too complex, i.e. twoo many options, then pull this additional functionality out into a separate class.

Change History

11/18/05 14:44:42 changed by Matt Goodall <matt@pollenation.net>

  • cc set to jbauer@rubic.com.

11/18/05 23:59:23 changed by Matt Goodall <matt@pollenation.net>

I committed a version of DatePartsWidget? with the twoCharCutoffYear extension. Any feedback would be appreciated before this changes "escapes" too much ;-).

Unlike the MMYY widget, this one actually checks that the user entered two digits. I think that's probably better and I may update the MMYY widget to do the same at some point.

01/06/06 00:37:37 changed by anonymous

  • type changed from defect to enhancement.