You are here

function date_popup_formats in Date 5.2

Same name and namespace in other branches
  1. 6.2 date_popup/date_popup.module \date_popup_formats()
  2. 6 date_popup/date_popup.module \date_popup_formats()
  3. 7.3 date_popup/date_popup.module \date_popup_formats()
  4. 7 date_popup/date_popup.module \date_popup_formats()
  5. 7.2 date_popup/date_popup.module \date_popup_formats()
2 calls to date_popup_formats()
date_widget_settings_form in date/date_admin.inc
_date_widget_settings in date/date_admin.inc
Implementation of hook_widget_settings().

File

date_popup/date_popup.module, line 404
A module to enable jquery calendar and time entry popups. Requires the Date API.

Code

function date_popup_formats() {
  $formats = array();
  foreach (date_popup_date_formats() as $format) {
    foreach (date_popup_time_formats() as $time_format) {
      $formats[] = $format . ' ' . $time_format;
    }
  }
  return $formats;
}