Baboo7 / strapi-plugin-import-export-entries

Import/Export data from and to your database in just few clicks.
175 stars 86 forks source link

[BUG] Invalid format, expected a timestamp or an ISO date #157

Open mnaduvadka opened 9 months ago

mnaduvadka commented 9 months ago

Describe the bug when trying to import using CSV it throws an error - Invalid format, expected a timestamp or an ISO date. I tried importing the just exported file without making any changes. the result is the same.

[
    {
        "error": "Invalid format, expected a timestamp or an ISO date",
        "data": {
            "id": "1",
            "name": "KFC",
            "city": "Noida",
            "h1": "KFC2",
            "h2": "Select your area to see the KFC menu",
            "h3": "KFC delivers to you",
            "menu": null,
            "slug": "kfc",
            "h1Subtext": "Fried Chicken, American, Sandwiches",
            "createdAt": "2023-11-14T13:16:29.089Z",
            "updatedAt": "2023-11-14T14:20:54.543Z",
            "publishedAt": "null",
            "localizations": [
                2
            ],
            "locale": "en",
            "createdBy": null,
            "updatedBy": null
        }
    }
]

To Reproduce Steps to reproduce the behavior:

  1. Export by choosing the CSV option
  2. try exporting even without making any change
  3. See error

Expected behavior It should be imported properly as it does like JSON2

Screenshots

Screenshot 2023-11-14 at 6 25 06 PM