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) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Returned date format on a custom field (of type date)
Pages: [1]

Author Topic: Returned date format on a custom field (of type date)  (Read 436 times)

VitorFF

  • I post occasionally
  • **
  • Posts: 35
  • Karma: 1
  • CiviCRM version: 4.4.11
  • CMS version: Drupal 7.27
  • MySQL version: 5.5
  • PHP version: 5.4
Returned date format on a custom field (of type date)
February 12, 2015, 09:18:30 am
Hello guys,

I have a weird issue happening with a custom date field. This custom field is attached to a custom Relationship type.

I've set it so it has ' dd/mm/yyyy (31/12/2009) '  this format. But when I fetch it using the API the format that is retrieving is completely different 'mm/dd/yyyy'.

Has any one else experienced this issue before?

Thank you for your time!
« Last Edit: February 12, 2015, 09:25:33 am by VitorFF »
Why don't you take a look at this? (You will not regret it!)

Capitalisation Corrector : https://civicrm.org/extensions/capitalisation-corrector

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: Returned date format on a custom field (of type date)
February 12, 2015, 02:51:05 pm
Perhaps this is a totally ridiculous suggestion - I even hardly know what that API is - but I am wondering if it could be related to https://issues.civicrm.org/jira/browse/CRM-15948 ?

VitorFF

  • I post occasionally
  • **
  • Posts: 35
  • Karma: 1
  • CiviCRM version: 4.4.11
  • CMS version: Drupal 7.27
  • MySQL version: 5.5
  • PHP version: 5.4
Re: Returned date format on a custom field (of type date)
February 13, 2015, 01:46:14 am
It does not seem to be quite the same nature.

I will post a separate bug report for this issue.

Thank you!

EDIT: Jira issue: https://issues.civicrm.org/jira/browse/CRM-15973
« Last Edit: February 13, 2015, 03:54:03 am by VitorFF »
Why don't you take a look at this? (You will not regret it!)

Capitalisation Corrector : https://civicrm.org/extensions/capitalisation-corrector

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Returned date format on a custom field (of type date)

This forum was archived on 2017-11-26.