- Notifications
You must be signed in to change notification settings - Fork0
Preview date time as your desired time zone.
License
NotificationsYou must be signed in to change notification settings
wxt2005/vscode-date-preview
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Preview date string while hovering them. You could display one primary preview, and alternative previews as many as you want. For instance, your could display one local time zone and several different time zones.
Now supports:
This extension contributes the following settings:
date-preview.detect.ISO-8601String
: Whether to detectISO-8601 format date string.date-preview.detect.unixTime
: Whether to detect Unix Time. Currently supports seconds and millonseconds.date-preview.primaryPreview.enable
: Primary date preview format, described inday.js format documentation. Leave empty to use ISO-8601 format.date-preview.primaryPreview.name
: Show as the name of primary preview section.date-preview.primaryPreview.format
: Primary date preview format, described inday.js format documentation. Leave empty to use ISO-8601 format.date-preview.alternativePreviews
: An array of alternative preview items.date-preview.alternativePreviews[].name
: Show as the name of alternative preview section.date-preview.alternativePreviews[].format
: Used to format preivew display. Leave empty to use ISO-8601 format.date-preview.alternativePreviews[].utcOffset
: UTC offset of custom preview timezone. If the input is between -16 and -16, it will be interpreted as hours, otherwise, minutes instead. Leave empty to use local timezone.
Initial release
About
Preview date time as your desired time zone.