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 Drupal Modules (Moderator: Donald Lobo) »
  • Views3 handler for birth date
Pages: [1]

Author Topic: Views3 handler for birth date  (Read 891 times)

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Views3 handler for birth date
May 29, 2012, 05:01:15 pm
Wasn't working - patch on its way
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

torrance123

  • I post occasionally
  • **
  • Posts: 57
  • Karma: 3
  • CiviCRM version: 4.0
  • CMS version: Drupal 7
  • MySQL version: 5.0.91
  • PHP version: 5.3.3
Re: Views3 handler for birth date
May 29, 2012, 05:22:08 pm
A contact's birthdate is currently processed by View's as just a regular text field. Since it does not recognise that it is a date, the birthdate isn't able to be manipulated in the usual way that date/time fields are in Views, eg. to be rewritten to a different format, to be sorted or filtered by date.

The attached patch sets handlers for the field birth_date to the civicrm set of datetime handlers.

See patch provided here: http://issues.civicrm.org/jira/browse/CRM-10285

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • Views3 handler for birth date

This forum was archived on 2017-11-26.