question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Date values converted to unix timestamps when exporting

See original GitHub issue

If I have a csv file of days in YYYY-MM-DD format, open it up in data-preview, and then save it out as a csv, the date field is a timestamp Screen Shot 2020-04-22 at 10 27 09 PM

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
RandomFractalscommented, Apr 23, 2020

yeah, I need to add default date formatting for those.

0reactions
RandomFractalscommented, Apr 23, 2020

like I said it’s a duplicate of #156 that I did not finish.

see this commit for what needs to be added for csv save to format dates:

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to convert Unix timestamps in CSV exports
Copy this formula: "=(((Cell Name With Timestamp/60)/60/24)+DATE(1970,1,1))", then press the Enter key. · Select Time and choose the desired time ...
Read more >
Epoch Converter - Unix Timestamp Converter
The converter on this page converts timestamps in seconds (10-digit), milliseconds (13-digit) and microseconds (16-digit) to readable dates. Human-readable time ...
Read more >
How to Convert DateTime to UNIX Timestamp in Python
To begin with, we import the datetime class from the datetime module. The UNIX value object is then stored in a variable. Then...
Read more >
Exported Dates & Dates In Liquid Templates
A Unix timestamp can be converted into any date format. From within a spreadsheet, a calculation must be performed. If the date is...
Read more >
Converting Unix timestamp value to ISM date and time format ...
Hi Simon,. Is there no way for the other system to export the written date/time? I don't think the data import processor has...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found