luusluus / vscode-parquet-visualizer

vscode extension for SQL querying and visualizing parquet files
https://marketplace.visualstudio.com/items?itemName=lucien-martijn.parquet-visualizer
MIT License
3 stars 0 forks source link

Suggest: adjust Date type display format #53

Closed homecls closed 1 day ago

homecls commented 1 week ago

change the format from {Mon Sep 30 2002 08:00:00 GMT+080}. to {2002-9-30 08:00:00 Mon GMT+080}.

luusluus commented 1 week ago

Thx for the suggestion.

I'll make this configurable and make your suggested format the default.

luusluus commented 1 day ago

You can now change the format for timestamp columns yourself. Simply edit your settings.json file in .vscode directory and add the following lines

"parquet-visualizer.dateTimeFormat": "YYYY-M-D HH:mm:ss ddd [GMT]Z",
"parquet-visualizer.outputDateTimeFormatInUTC": false

Or, go to vscode settings with CTRL + , and find the setting by typing parquet-visualizer in the Search settings box.