You are here

function date_popup_time_formats in Date 5.2

Same name and namespace in other branches
  1. 6.2 date_popup/date_popup.module \date_popup_time_formats()
  2. 6 date_popup/date_popup.module \date_popup_time_formats()
  3. 7.3 date_popup/date_popup.module \date_popup_time_formats()
  4. 7 date_popup/date_popup.module \date_popup_time_formats()
  5. 7.2 date_popup/date_popup.module \date_popup_time_formats()

Allowable time formats.

1 call to date_popup_time_formats()
date_popup_formats in date_popup/date_popup.module

File

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

Code

function date_popup_time_formats($with_seconds = FALSE) {
  return array(
    'H:i:s',
    'h:i:sA',
  );
}