Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Preview date time as your desired time zone.

License

NotificationsYou must be signed in to change notification settings

wxt2005/vscode-date-preview

Repository files navigation

Features

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:

Preview

Extension Settings

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.

Known Issues

Release Notes

1.0.0

Initial release

License

MIT


[8]ページ先頭

©2009-2025 Movatter.jp