You are here

function rich_snippets_date_formats in Rich Snippets 7

Implements hook_date_formats().

File

./rich_snippets.module, line 47
Overrides the standard search results templates and CSS to display results similar to major search engines.

Code

function rich_snippets_date_formats() {
  return array(
    array(
      'type' => 'rich_snippets_published_date',
      'format' => 'M j, Y',
      'locales' => array(),
    ),
    array(
      'type' => 'rich_snippets_event_date',
      'format' => 'D, M j, Y',
      'locales' => array(),
    ),
  );
}