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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Date field problems with Activity email
Pages: [1]

Author Topic: Date field problems with Activity email  (Read 677 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
Date field problems with Activity email
June 10, 2012, 05:59:32 pm
I have a custom date field used for an activity - was set to not have Time, but retested with it having a Time and got same issue

when saving the Activity i get this notice

Notice: Undefined index: time_format in CRM_Core_BAO_CustomField::getDisplayValueCommon() (line 1119 of /sites/civicrm-d7-stable/CRM/Core/BAO/CustomField.php).

When the Activity email is sent out the Date provided shows as eg

Verification Date    January 0th, 0 12:20 AM

I can't confirm on demo as it won't fire out the email.

I have tried some variations on the Date Format but same outcome

The in-built Activity 'Date' field sends out correctly

eg Date and Time    June 11th, 2012 12:31 PM

Ahh - this may be more useful

So a Date of 7 June, 2012

is sent out as 0th, 7 8:12 PM

A Date of 12 June, 2012

is sent out as 0th, 12 2:01 AM

A Date/Time of June 13th, 2012 12:55 PM

is sent out as 0th, 13 2:01 AM

Make sense to anyone?
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

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
Re: Date field problems with Activity email
June 10, 2012, 06:06:18 pm
of course i could have at least verified the Notice on Demo but demo seems to be a bit dead to me
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

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
Re: Date field problems with Activity email
December 11, 2012, 03:37:11 pm
Just updating this to say that currently we are not getting that error message - but the email of the activity is still coming through as 0th, 20 12:00 AM

Anyone able to be provide a pointer - we are eileenless for a bit ;-(
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

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
Re: Date field problems with Activity email
December 11, 2012, 05:44:26 pm
Issue created here - http://issues.civicrm.org/jira/browse/CRM-11449
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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Date field problems with Activity email

This forum was archived on 2017-11-26.