You are here

function date_popup_time_format in Date 7.3

Same name and namespace in other branches
  1. 7 date_popup/date_popup.module \date_popup_time_format()
  2. 7.2 date_popup/date_popup.module \date_popup_time_format()

Date popup time format.

3 calls to date_popup_time_format()
date_popup_element_value_callback in date_popup/date_popup.module
Element value callback for date_popup element.
date_popup_input_date in date_popup/date_popup.module
Helper function for extracting a date value out of user input.
date_popup_process_time_part in date_popup/date_popup.module
Process the time portion of the element.

File

date_popup/date_popup.module, line 264
A module to enable jQuery calendar and time entry popups.

Code

function date_popup_time_format($element) {
  return date_popup_format_to_popup_time(date_limit_format($element['#date_format'], date_popup_time_granularity($element)), $element['#timepicker']);
}