Hi!

Would it be possible for a developer to add new French date formats to the $datemedium and $datelong date settings array in system.module?

$datemedium = array('D, Y-m-d H:i', 'D, m/d/Y - H:i', 'D, d/m/Y - H:i',
          'D, Y/m/d - H:i', 'F j, Y - H:i', 'j F, Y - H:i', 'Y, F j - H:i',
          'D, m/d/Y - g:ia', 'D, d/m/Y - g:ia', 'D, Y/m/d - g:ia',
          'F j, Y - g:ia', 'j F Y - g:ia', 'Y, F j - g:ia', 'j. F Y - G:i');
  $datelong = array('l, F j, Y - H:i', 'l, j F, Y - H:i', 'l, Y,  F j - H:i',
        'l, F j, Y - g:ia', 'l, j F Y - g:ia', 'l, Y,  F j - g:ia', 'l, j. F Y - G:i');

I would like us to support the following:

Medium
j F Y - G:i

Long
l, j F Y - G:i

Currently I need to patch manually all my Drupal installations. Having those date settings in the core would be a definite plus.

Anyone can help in making this happen?

Comments

yched’s picture

Status: Active » Closed (duplicate)

The forthcoming 'custom date format' patch in http://drupal.org/node/105039 will provide a more generic solution.

xmacinfo’s picture

Status: Closed (duplicate) » Closed (won't fix)

This is fixed in Drupal 6 with custom date formats.