Hacker News new | ask | show | jobs
by kengoa 585 days ago
Thanks for trying it out! This is unfortunately not possible as of now and is one of th high-priority tasks to parse timestamps and datetimes, which is now incorrectly parsed as a string (Categorical). I'm using Papa Parse to load CSV data and I will likely need to add a custom parser on top of it.

Some of those plans are mentioned in my blog post reflecting on building this app: https://kengoa.github.io/software/2024/11/03/small-software....

2 comments

You might also want to support a Unix timestamp as input, i.e. an integer or decimal number of (mili|micro|nano-)seconds since the Unix epoch. No need to worry about messy date parsing there.
Maybe use dayjs to handle all kinds of wired string dates.
dayjs seems like exactly I was looking for, thanks for the suggestion! I might have tried to write a parser myself otherwise.