A simple plugin for Obsidian that transforms date references in your task lists into color-coded elements that show relative dates.
@ YYYY-MM-DD (with optional time HH:MM) into relative dates@ prefix through the plugin settingsAdd dates in your task lists using the format:
@ 2025-08-12 for dates@ 2025-08-12 14:30 for dates with timeThe plugin will automatically convert these into easy-to-read elements such as:
main.js, manifest.json, and styles.css from the release assets..obsidian/plugins/obsidian-relative-dates.obsidian/plugins/:git clone https://github.com/Munckenh/obsidian-relative-dates.git
npm install
npm run build
To release a new version of the plugin:
minAppVersion in manifest.json if the new release requires a higher minimum Obsidian version.npm version patch, npm version minor, or npm version major. This automatically updates the version correctly, creates a version commit, and adds the corresponding git tag.git push --follow-tags
manifest.json, main.js, styles.css).To manage the plugin, you can use the following scripts:
npm run build or with live reload by running npm run dev.npm run lint.