You are here

function signup_format_date in Signup 6

Same name and namespace in other branches
  1. 5.2 includes/scheduler.inc \signup_format_date()
  2. 6.2 includes/scheduler.inc \signup_format_date()
  3. 7 includes/scheduler.inc \signup_format_date()
3 calls to signup_format_date()
signup_admin_form_extra in includes/admin.signup_administration.inc
signup_send_forwarding_mail in ./signup.module
Send the signup forwarding mail when a user signs up for something.
_signup_get_email_tokens in ./signup.module
Helper function that returns an array of tokens for signup emails.

File

includes/scheduler.inc, line 100
Code necessary to determine which scheduler backend(s) to use.

Code

function signup_format_date($node) {
  switch (_signup_get_node_scheduler($node)) {
    case 'event':
      return _signup_event_format_date($node);
    case 'date':
      return _signup_date_format_date($node);
    default:
      return t('[Untimed]');
  }
}