break;
case 'F':
$new_format .=
addcslashes( $month, '\\A..Za..z'
);
break;
case 'l':
$new_format .=
addcslashes( $weekday, '\\A..Za..z'
);
break;
case 'M':
$new_format .=
addcslashes( $wp_locale->
get_month_abbrev( $month ), '\\A..Za..z'
);
break;
case 'a':
$new_format .=
addcslashes( $wp_locale->
get_meridiem( $datetime->
format( 'a'
) ), '\\A..Za..z'
);
break;
case 'A':
$new_format .=
addcslashes( $wp_locale->
get_meridiem( $datetime->
format( 'A'
) ), '\\A..Za..z'
);
break;
case '\\':
$new_format .=
$format[ $i ];
// If character follows a slash, we add it without translating.
if ( $i <
$format_length ) { $new_format .=
$format[ ++
$i ];
}