You are here

function _edi_safe_date_fmt in Classified Ads 7.2

Same name and namespace in other branches
  1. 5.2 ed_classified_utils.inc \_edi_safe_date_fmt()
  2. 5 ed_classified_utils.inc \_edi_safe_date_fmt()
  3. 6.2 ed_classified_utils.inc \_edi_safe_date_fmt()
2 calls to _edi_safe_date_fmt()
_ed_classified_form_submit in ./ed_classified.module
Implementation of form submission handler
_ed_classified_purge_ads in ./ed_classified_delete.inc
purge old ads (must have been expired - IOW, unpublished - first.)

File

./ed_classified_utils.inc, line 463
Simple text-based classified ads module. Michael Curry, Exodus Development, Inc. exodusdev@gmail.com for more information, please visit http://exodusdev.com/drupal/modules/classified.module Copyright (c) 2006, 2007 Exodus Development, Inc. All Rights…

Code

function _edi_safe_date_fmt($date) {
  return $date == 0 ? "_the beginning of time_" : format_date($date);
}