Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-19386

Date format is not taken into account for custom field on activity import

    Details

    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      I defined custom fields for Activities, one of them is of Date type. When I try to import activities, I've got an error for some of them telling that the date for this custom field is invalid. I've chosen dd/mm/yyyy as date format and I've realized that it only happens when the day is greater than 12 - the maximum month number.

      I think that the date format is not taken into account for custom fields when importing activities.

        Attachments

        1. activity_import.csv
          0.1 kB
          Stoob
        2. purn-purn.png
          10 kB
          Stoob
        3. purn-purn2.png
          13 kB
          Stoob
        4. purn-purn3.png
          19 kB
          Stoob
        5. purn-purn4.png
          18 kB
          Stoob
        6. purn-purn5.png
          23 kB
          Stoob

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jlebleu Jérôme Lebleu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: