Im trying to figure out how to add them to the list at this point. The default is easy because there is just a date string field in ACP. But in User CP you have to change the template to add the options. One would think it would be easy....but
It looks like in template usercp_options_date_format there is the value of this for all the options
<option value="{$key}"{$selected}>{$dateformat}</option>
But i cant find dateformat value anywhere in the code or templates? And i cant just add the options below this as then the option is on every other line in UserCP
in usercp.php i see on line 1087
$date_format_options = $dateformat = '';
foreach($date_formats as $key => $format)
{
$selected = '';
if(isset($user['dateformat']) && $user['dateformat'] == $key)
{
$selected = " selected=\"selected\"";
}
$dateformat = my_date($format, TIME_NOW, "", 0);
eval("\$date_format_options .= \"".$templates->get("usercp_options_date_format")."\";");
}
but im not sure how to add options to this?