This is an Obsidian plugin which can insert a date at the cursor position using a calendar.
The calendar can be called up in one of the following ways.
- Using hotkey. (recommend)
- Selecting
Date Inserter: Open Calendar
from the command palette.
- You can custom format of date.
- ex1)
mm/dd/yyyy
=>01/23/2024
- ex2)
DD mm-dd
=>Tuesday 01-23
- ex3)
yyyy.mm.dd(D)
=>2024.01.23(Tue)
- ex1)
Note
The calendar for this plugin uses vanillajs-datepicker. Please check this link (vanillajs-datepicker > Date String & Format) for format details.
Install the plugin in one of the following ways.
This plugin is available in Obsidian's Community Plugins Browser.
- Launch the Obsidian application.
- Open the
Settings
, selectCommunity Plugins
, and selectBrowse
. - Search for
Date Inserter
, and click it. - Click the
Install
.
You can also install this plugin manually.
- Access to Releases, and download the 3 files(
main.js
,manifest.json
,style.css
) of latest version. - Create a new folder named
date-inserter
. - Move download the 3 files to the
date-inserter
folder. - Place the folder in your
.obsidian/plugins
directory. If you don't know where that is, you can go to Community Plugins inside Obsidian. There is a folder icon on the right of Installed Plugins. Click that and it opens your plugins folder. - Reload plugins. (the easiest way is just restarting Obsidian)
- Activate the plugin as normal.
You can also install this plugin using the BRAT plugin.
- Install BRAT using the Obsidian Plugin manager
- In your Obsidian settings on the left, select BRAT in the list.
- In BRAT settings, click the button Add Beta Plugin
- In the textbox, supply the URL to this repo =>
https://github.com/namikaze-40p/obsidian-date-inserter
- Once
Date Inserter
is installed, activate it in your Obsidian settings.