Web Analytics

Fill the form & Get Installation Support


    Today, I was working on a Magento 2 project.

    Everything was going smoothly, until I tried to add a product.

    I thought code was installed properly so I was expecting a positive acknowledgement.

    But instead, I faced an error which was saying:

    DateTime::__construct(): Failed to parse time string (28/11/2019) at position 0 (2): Unexpected char

    I had a discussion with my colleagues about it and we came with this solution.

    We made an update in this file :


    The update we are talking about is nothing, but below one line code.

    After applying that update things worked for me. If you ever faced with such situation, I advised you to do the same.

    Fill the below form if you have any Magento programming need.

      Recent Articles

      Author Info

      Author Image

      Magento Certified Developer

      Hire V. Brahmbhatt

      Get a Free Quote

        Let our Magento expert connect to discuss your requirement.

          We offer Magento
          certified developers.

          Our Magento clientele
          is 500+.

          We sign NDA for the
          security of your projects.

          We’ve performed 100+
          Magento migration projects.

          Free quotation
          on your project.

          Three months warranty on
          code developed by us.