Closed (won't fix)
Project:
Drupal core
Version:
6.x-dev
Component:
system.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Apr 2007 at 01:42 UTC
Updated:
15 Jul 2007 at 15:30 UTC
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
Comment #1
yched commentedThe forthcoming 'custom date format' patch in http://drupal.org/node/105039 will provide a more generic solution.
Comment #2
xmacinfoThis is fixed in Drupal 6 with custom date formats.