DEA - 25 March 2007 04:25 PM
I’m a tad slow I think. What exactly are we supposed to enter in the settings fields?
By default you don’t have to use any of the settings at all - it works on all date fields in the system. The settings are for behavior different than the default behavior.
By default, if no year is given in a date field, the current year is used (2007 right now). By default, if no time is given in a date field, 12:01 AM is used. Otherwise it just uses whatever you put into the field.
The settings are for changing that default behavior. If you want to force a future date for a certain field, put the field name you’d like to force into the future in the “Thinking Long Term? (force future date)” field. For example, say you have a field named ‘application_deadline’ that should always be a date in the future. You put that field name in the “Thinking Long Term” setting field. Then if someone enters either no year, or a previous year, it will change that year to the upcoming year. If today is March 25, 2007, and someone enters March 26, 2007 then it leaves it alone - but if they put March 26, 2005, the resulting date would be March 26, 2007.
Any field name you put in “punctual to a fault” will be forced to use 12:01 AM for the time, no matter what time is actually entered.
Any field name you put in “disastrously late” will be forced to use 11:59 PM for the time, no matter what time is actually entered.
Any field name you put in “fashionably late” will use whatever time is entered into that field, but if no time is entered, will use 11:59 PM (remember the default behavior is to use 12:01 AM).
Does that make sense? None of them are mandatory settings - but if you want a certain field to behave differently than normal, that’s what they’re there for.