Date format does not support spaces?

  • Darjan Zlobec
    Participant
      # 2 months, 3 weeks ago

      Hi,

      I changed the date format to “DD. MM. YYYY” (with spaces after the period) and Carbon did not parse it. After removing the spaces, it worked ok. Is this a Bug?

      Regard,
      Darjan

    • laravel-bap
      Keymaster
        # 2 months, 2 weeks ago

        Carbon is third-part library to work with dates. I don’t think this is bug. Carbon just don’t understand this date. You can ask about this on Carbon github page.

      You must be logged in to reply to this topic.