Calendar is an open-source VS Code extension licensed under GPL v3.
see for details.
Features
snippets for inserting current date (eg CHANGELOG) using // (confluence like)
insert date command providing a visual calendar
recognize date and allow Calendar edit while keeping original format
Extension Settings
This extension contributes the following settings:
calendar.dateFormat: The format to use for dates. Use default (default) to automatically detect the format from the document or use system locale, or ISO for YYYY-MM-DD.
calendar.enabledLanguages: List of languages where date recognition is enabled. Default is ["markdown", "plaintext", "javascript", "typescript"].
calendar.ambiguityResolution: How to resolve ambiguous dates like 01/02/2023. Can be DMY (Day-Month-Year, default) or MDY (Month-Day-Year).
Known Issues
Depending on system input format, first date insert may lead to a different format when editing latter on.
By default extension is only enabled on Plain Text and Markdown. You need to trigger explicitly a calendar.insertDate on other document type to enable it.
Plain Text
VS Code often has editor.quickSuggestions disabled by default for plaintext files, which prevents snippets from appearing automatically as you type.
The // prefix might need manual triggering Ctrl+Space (or Cmd+Space on Mac)
rather than appearing automatically.