function date_medium_formats in Date 6
Same name and namespace in other branches
- 5.2 date_api.module \date_medium_formats()
- 5 date.inc \date_medium_formats()
An array of medium date formats.
Return value
array an array of medium date format strings.
1 call to date_medium_formats()
- date_format_options in date/
date_admin.inc - Store personalized format options for each user.
File
- ./
date_api.module, line 334 - This module will make the date API available to other modules. Designed to provide a light but flexible assortment of functions and constants, with more functionality in additional files that are not loaded unless other modules specifically include them.
Code
function date_medium_formats() {
return array(
'D, Y-m-d H:i',
'D, m/d/Y - H:i',
'D, d/m/Y - H:i',
'D, Y/m/d - H:i',
'F j, Y - H:i',
'j F, Y - H:i',
'Y, F j - H:i',
'D, m/d/Y - g:ia',
'D, d/m/Y - g:ia',
'D, Y/m/d - g:ia',
'F j, Y - g:ia',
'j F Y - g:ia',
'Y, F j - g:ia',
'j. F Y - G:i',
);
}