-
Notifications
You must be signed in to change notification settings - Fork 1
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
Date parsing error #3
Comments
This is particularly problematic that they switched to alpha timezone identifiers as these can only be interpreted within the context of the system running the code (tastypl). This makes them virtually useless for international use. IST could be india, Ireland or Israel for example, CST like is used here could be North America, Cuba, China... For the purposes of expediency, and the obvious fact that they are exporting in CST/CDT (Chicago) time, we'll just hack in those two possibilities. The challenge is to keep them consistent so that the order of transactions stays correct. Switching from a numeric timezone (-0400) to alpha could mean it is interpreted as UTC -- a 4 hour difference that could be earlier than the previous transaction. |
And another problem. The CSV selection criteria is off by the amount of the timezone offset. Check it out:
That is supposed to start at March 1 (reverse chrono order), but it starts at March 1, 00:00 minus the timezone offset of 4 hours. |
This is a temporary hack while they (hopefully) revert back to numeric timezone offsets, which is the only correct way to export this data, especially for an international client base. |
Reopening this until tastyworks fixes it. tastypl handles it fairly well, but the TW platform exports are still a problem. |
Post upgrade to 1.14, tastypl aborts with
Lines from the old/new CSV show that the export format for dates has changed:
For now, just add a second date format to parse for.
The text was updated successfully, but these errors were encountered: