CSV Import not working properly

Home Forums Calendar Products Events Calendar PRO CSV Import not working properly

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #97733
    mountainx
    Participant

    The importer is importing but it’s not correctly importing the start and end dates. They are coming in as 1970 no matter what I do. I did this a couple of months ago and it worked fine then. Can anyone reproduce this??

    #97856
    Barry
    Member

    Hi @mountainx,

    I’m sorry to hear you are experiencing problems here. Can you provide a sample of the data you are importing or at least of the date and time formats?

    Thanks!

    #98334
    Barry
    Member

    Just checking in here – do you still need help with this one?

    #98481
    mountainx
    Participant

    We’ve identified the issue. The export of our events contained the value NULL for start and end time if none was set. However your import script only checks if time is not empty and therefor attempts to convert a date time with NULL in the value. This function fails and returns a date from 1970. I suggest asking your programmers to check for a valid time before adding it to the date. This could better improve date success rates.

    Thank you!

    #135964
    Barry
    Member

    (Closing this out as it’s a fairly old thread at this point.)

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘CSV Import not working properly’ is closed to new replies.