-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Unix timestamp support #612
Comments
Hi, You can change between these representations in datalab -> configuration -> time intervals as dates. And when importing a gexf file, you specify your times format with timeformat attribute of graph tag. So, if a gexf contains numbers, it should not be automatically represented as dates, but it is possible if the user wants. |
So maybe a simple way to support timestamps would be to try to convert values as dates, if the number has the length of a unix timestamp (without milliseconds), and check if the conversion produces real dates. What do you think about it? I can code it if you point me the right source file. |
Well, any lenght is valid, considered as seconds? from 1970. If we want seconds, I think gexf should be extended with the timestamp timeformat for clarity. |
Yes, any length is valid. The question is how to know if numbers are in seconds or milliseconds. I don't know if we should see them as dates automatically, because I can imagine cases where using seconds is much easier. I agree on the GEXF format. |
With the new button to change format in timeline it now should be easy to input doubles but then see dates (has to be milliseconds) if the user wants. Then I think we will just add timestamp to gexf and read seconds there. |
I agree. |
Unix timestamp is widely used to record temporal data, but Gephi does not support it.
They are integers but they mean a date, so how can we show this on the Timeline and in the Data Lab?
The text was updated successfully, but these errors were encountered: