You are here

function uc_store_date_formats in Ubercart 7.3

Implements hook_date_formats().

File

uc_store/uc_store.module, line 633
Contains global Ubercart functions and store administration functionality.

Code

function uc_store_date_formats() {
  return array(
    array(
      'type' => 'uc_store',
      'format' => 'Y-m-d',
      'locales' => array(),
    ),
    array(
      'type' => 'uc_store',
      'format' => 'm/d/Y',
      'locales' => array(
        'en-us',
      ),
    ),
    array(
      'type' => 'uc_store',
      'format' => 'd/m/Y',
      'locales' => array(
        'en-gb',
        'en-hk',
        'en-ie',
        'el-gr',
        'es-es',
        'fr-be',
        'fr-fr',
        'fr-lu',
        'it-it',
        'nl-be',
        'pt-pt',
      ),
    ),
    array(
      'type' => 'uc_store',
      'format' => 'Y/m/d',
      'locales' => array(
        'en-ca',
        'fr-ca',
        'no-no',
        'sv-se',
      ),
    ),
    array(
      'type' => 'uc_store',
      'format' => 'd.m.Y',
      'locales' => array(
        'de-ch',
        'de-de',
        'de-lu',
        'fi-fi',
        'fr-ch',
        'is-is',
        'pl-pl',
        'ro-ro',
        'ru-ru',
      ),
    ),
  );
}