Modify existing date types.
Allows other modules to modify existing date types like 'long'. Called by _system_date_format_types_build(). For instance, A module may use this hook to apply settings across all date types, such as locking all date types so they appear to be provided by the system.
$types: A list of date types. Each date type is keyed by the machine-readable name and the values are associative arrays containing:
function hook_date_format_types_alter(&$types) {
foreach ($types as $name => $type) {
$types[$name]['locked'] = 1;
}
}