CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • Adding a new date format
Pages: [1]

Author Topic: Adding a new date format  (Read 3259 times)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Adding a new date format
September 16, 2008, 05:49:39 am
Hi,

kexi exports the dates as dd/mm/yy (in my config at least), but that format isn't one available, I'd like to add it.


I've been browsing the code, it seems it uses the php formating to transform it (so far so good), but I couldn't find where these options are listed (found the template, that displays a list that is fetched from ???)

Is a a db param ? a config file somewhere ?

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Adding a new date format
September 16, 2008, 06:23:57 am
Check

Quote
'CRM/Core/Form/Date.php'
CRM_Core_Form_Date::buildAllowedDateFormats( );

Note that you will have not only add it to display but also handle processing part.

HTH

Kurund



Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • Adding a new date format

This forum was archived on 2017-11-26.