-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ignore field names in line 1 of batch upload #74
Comments
@philnorc we suppose the user should use app like excel or numbers (macos) to deal with the file, so in this way, we should keep the first line as the header of the table. |
And by using the excel, the app will help to fix problem and promise a good format of the data, in this issue, is about an edge case of using semicolon to separate fields, we are going to support this case, but currently, semicolon leads to a problem. Greenstand/treetracker-admin-api#631 |
ISO date format is YYYY-MM-DD. I think it's a good idea. We should use it. Maybe our tables sort OK and we don't care. |
@philnorc next time let's just focus on one single problem in an issue, this makes us easier to manage the issues |
Payments Batch Upload Failed! "paid_at" must be in ISO 8601 date format
I see 2 problems with that:
Uploading the field names is a common and easy mistake. We can easily fix our code to ignore it; to ignore line 1 and accept the data in line 2.
"Paid_at" does not need to be in ISO 8601 format. That is not the date format we display in the tables. Try uploading data with a date like "April 4, 2022". The reply is "Data Uploaded Successfully."
FIX:
Let's change our code either of 2 ways:
The text was updated successfully, but these errors were encountered: