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

DateTime fields read as strings #78

Closed
mistyblue17 opened this issue May 31, 2018 · 5 comments
Closed

DateTime fields read as strings #78

mistyblue17 opened this issue May 31, 2018 · 5 comments
Labels
good first issue Good for newcomers to tackle

Comments

@mistyblue17
Copy link

Kepler.gl looks super cool and I'm excited to be able to use it. After adding my data, my fields only show up as integers and strings, even my DateTime field. I've tried going back into LibreCalc to set the format to date, time, and custom YYYY/MM/DD HH:MM:SS format, but it still just comes through as a string after upload the UTF-8 CSV file.
SyracuseSiteData_Qonly_UTF-8.zip

@heshan0131
Copy link
Contributor

@mistyblue17 our current date time checks doesn't cover YYYY/MM case yet and is always expect a time, However YYYY/MM/DD HH:MM should work. I added a column datetime_1 in your csv in YYYY/MM/DD HH:MM format and was able to create a time filter

screen shot 2018-05-31 at 12 25 22 pm
screen shot 2018-05-31 at 12 26 20 pm

SyracuseSiteData_Qonly_UTF-8_fix.zip

@heshan0131 heshan0131 added the good first issue Good for newcomers to tackle label May 31, 2018
@mistyblue17
Copy link
Author

Yes! That did the trick. Thank you!

@Philwang3
Copy link

Hi, I am planning to use it on a history visualization demo. May I ask how kepler.gl handle date time before christ(B.C. time)? Is it "-700-03-01" or "700-03-01 B.C./bc" or "0700-03-01 B.C./bc"?

@FDenker
Copy link

FDenker commented Sep 20, 2020

@Philwang3 were you able to solve this problem because I am having similar issues

@gudeso23
Copy link

Thanks, @heshan0131 heshan0131

I have the same issue with the date formats, how did u make the conversion? I was trying to do using ArcGIS Pro Date Convertor, but that did not resolve the issue. Ori

bjungs pushed a commit to imec-int/kepler.gl that referenced this issue Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers to tackle
Projects
None yet
Development

No branches or pull requests

5 participants