Open
Description
Is it possible to set timeFormatLocale
and formatLocale
to non-default values for the preview and when exporting images?
This is supported by Vega and Vega-Lite:
- https://vega.github.io/vega/docs/api/locale/
- https://gist.github.com/domoritz/a5707e5d9430c173019583ea8bc5707a
E.g I would like to see a preview and export an SVG image in the German locale:
{
"decimal": ",",
"thousands": ".",
"grouping": [3],
"currency": ["", "\u00a0€"]
}
{
"dateTime": "%A, der %e. %B %Y, %X",
"date": "%d.%m.%Y",
"time": "%H:%M:%S",
"periods": ["AM", "PM"],
"days": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"],
"shortDays": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
"months": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"],
"shortMonths": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"]
}
My personal favorite solution would be to be able to define this in the VS Code Settings (User, Folder or Workspace) and not have to do this every time I open a preview.
Any help greatly appreciated.