Using RT6.0, after upgrade from RT5.0.1- have custom fields which contain dates. These will not now save dates < 1970 - so looks like a UNIX date format issue. Can see in apache error log
“[55422] [Mon Dec 22 17:09:03 2025] [notice]: Passed a unix time less than 0, forcing to 0: [-148608000] (/opt/rt6/sbin/../lib/RT/Date.pm:888)“
Have been through Date.PM and RT Config, cannot find anything obvious.
The actual values for data entered into custom fields is stored as a string in ObjectCustomFieldValues. when using either date or date time, the TempusDominus date picker control or manual date entry will return a date. In RT V5, this data was simply stored in the table. In V6, it looks as if the value is treated as a Unix EPOCH date, and for dates < 1970, that number becomes negative and throws the error. Really the code should just check if the date string entered is a valid date and store it regardless. Not a lot of point in having an ability for a custom date field if it is limited to a range of +/- 68 years from 1970