CRM-18387 Contribution confirmation page forces custom date fields always to be format yyyy-mm-dd

    Details

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

      Description

      I have created custom date field with format dd/mm/yyyy and also specified the global date format to be dd/mm/yyyy. I included that field in a Profile and used that profile in a Contribution page. However on the Contribution confirmation page the field is always displayed format yyyy-mm-dd. See the screenshots attached.

        Attachments

        1. Untitled_13-05-16_2.png
          68 kB
          Stoycho
        2. Untitled_13-05-16.png
          83 kB
          Stoycho
        3. Untitled.png
          90 kB
          Stoycho
        4. Untitled2.png
          85 kB
          Stoycho
        5. Untitled3.png
          84 kB
          Stoycho
        6. Untitled4.png
          63 kB
          Stoycho

          Activity

          [CRM-18387] Contribution confirmation page forces custom date fields always to be format yyyy-mm-dd
          Coleman Watts added a comment -

          Stoycho would you like to help fund this fix via the paid issue queue?

          Stoycho added a comment -

          I can't right now mate. Besides this one is "nice to fix".

          Dilip Raj Baral added a comment -

          I could't replicate it on 4.7.8. The field format was what it was set. Perhaps it's already fixed.
          Pradeep Nayak Joe Murray

          Stoycho added a comment - - edited

          Nope,
          to replicate - create custom date field, use it in a profile, use that profile in a Contribution page. Also the built in "Birth Date" is always forced to US format on the confirmation page (though the system settings are EU format). See the screenshots below.

          P.S.
          don't worry too much about this, I'll offer you a patch when i have some time to look at it.

          Eileen McNaughton added a comment -

          Just removing the fix version as we are no longer setting them until the fix really is happening for that version - please reset when actively worked on

          Seamus Lee added a comment -

          I think this has been fixed as part of work on CRM-19490

          Eileen McNaughton added a comment -

          Can we close this as a duplicate of CRM-19490?

            People

            • Assignee:
              Dilip Raj Baral
              Reporter:
              Stoycho

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 1 day
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified