Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.1
-
Fix Version/s: 3.1
-
Component/s: Core CiviCRM
-
Labels:None
Description
Once you've assigned a value to D.O.B. in contact edit form, the date widget uses that as it's offset which means you can't modify it to a later date. In general, using the current value as the offset seems like a weird rule and I'm not sure if there's any date types / use cases where this is desirable. So if this behavior / class is used elsewhere we should also evaluate and probably fix.
To recreate:
- create new contact and set D.O.B. to Jan 1 1990 (at this point the date widget will give you year range from 2009 -> 1909)
- now go back and edit the D.O.B. - the available years in the widget will be 1990 -> 1890. (Should be still 2009 -> 1909)