Skip to content
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

TimeStampConvert - Error if %fis defined but timestamp has none #3

Open
amarbajric opened this issue Feb 19, 2019 · 0 comments
Open
Labels
bug Something isn't working

Comments

@amarbajric
Copy link
Owner

If the rare but possible occasion occurs where a timestamp has no microseconds because it is exactly at .000 microseconds and was therefore trimmed in the original csv file, the convert timestamp function should handle this edge case.

if '.' not in dt:
     dt = dt + '.0'

This code snippet should only run if the source timestamp format is in UTC and has microseconds BUT the csv file contains this specific edge case

@amarbajric amarbajric added the bug Something isn't working label Feb 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant