Coder Social home page Coder Social logo

Comments (3)

RandomFractals avatar RandomFractals commented on April 28, 2024 4

Hi guys!

You might want to try my Data Preview vscode extension. It formats dates and numbers for the grid and charts display:

https://github.com/RandomFractals/vscode-data-preview

I just need to add the same for saving formatted dates.

Also, my extension supports a lot of different input data formats and export data options:

https://github.com/RandomFractals/vscode-data-preview#supported-json-config-binary--excel-data-file-formats

More info on that data tool for vscode devs is in this dev.to post:

https://dev.to/tarasnovak/vscode-data-preview-for-devs-around-the-39mn

from sanddance.

 avatar commented on April 28, 2024 2

It seems that it automatically convert string dates in standard format to Unix timestamp in milliseconds.
I can see that it parsed the strings 2018-12-18 13:35:51 and December 18, 2018, 01:35:51 PM to a numeric 1545136551000.
Surprisingly, it considered my string being GMT+1 and not GMT. GMT+1 is my local time so I assume that it defaulted to it because my strings didn't provide a TZ.

So it's helpful that it parses datetimes but it would be better if it show string datetimes in the interface and on the plots rather than the epochs.

from sanddance.

patriked avatar patriked commented on April 28, 2024

If you insert some random char in the date time string (2019-09-29X00:56) for example, SandDance won't treat it as a datetime so you can hover on a data point and understand the value.

from sanddance.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.