milad-s5442 downloadsAutomatically converts Gregorian dates to Shamsi (Jalali/Persian) dates.
Automatically convert Gregorian dates to Shamsi (Jalali/Persian) dates in your Obsidian notes. Perfect for tracking movie watch dates, reading logs, or any time-based records with both start and end dates!

main.js and manifest.json)shamsi-date-converter in your vault's .obsidian/plugins/ directoryThe plugin handles multiple date pairs simultaneously:
Watched on start: 2025-09-30
Watched on end: 2026-02-17
After saving, it automatically adds both Shamsi dates:
Watched on start: 2025-09-30
Watched on end: 2026-02-17
Shamsi start: 1404/07/08
Shamsi end: 1404/11/28
Change any source date and the corresponding Shamsi date updates automatically:
Watched on start: 2025-10-15 ← Changed from 2025-09-30
Watched on end: 2026-02-17
Shamsi start: 1404/07/23 ← Automatically updated!
Shamsi end: 1404/11/28
Access settings via Settings → Shamsi Date Converter:
2026-09-01 in Reading view and Live Preview. This is disabled by default and does not write anything to the note.Enable Show Shamsi dates beside Gregorian dates in the plugin settings to see dates like this in Reading view and Live Preview:
2026-09-01 (1405/06/10)
The original Markdown remains unchanged. The display supports ISO dates with either - or / separators. Source mode is not modified.
Configure which properties should be converted:
Default Pairs:
Watched on start → Shamsi startWatched on end → Shamsi endCustom Pairs:
For Reading Tracker:
Source: "Started reading" → Target: "تاریخ شروع"
Source: "Finished reading" → Target: "تاریخ پایان"
For Projects:
Source: "Project start" → Target: "Shamsi project start"
Source: "Project deadline" → Target: "Shamsi deadline"
For Events:
Source: "Event date" → Target: "تاریخ رویداد"
The plugin accepts various Gregorian date formats:
2024-02-12 (ISO 8601 - recommended for best performance)2024/02/12Feb 12, 2024February 12, 2024---
title: Inception
type: Movie
Watched on start: 2024-01-15
Watched on end: 2024-01-15
Shamsi start: 1402/10/25
Shamsi end: 1402/10/25
rating: 5
---
---
title: Breaking Bad
type: TV Series
Watched on start: 2024-06-01
Watched on end: 2024-08-15
Shamsi start: 1403/03/12
Shamsi end: 1403/05/25
seasons: 5
---
---
title: The Alchemist
Started reading: 2024-03-01
Finished reading: 2024-03-20
Shamsi reading start: 1403/01/11
Shamsi reading end: 1403/01/30
---
---
title: نوروز
Event date: 2024-03-20
تاریخ شمسی: 1403/01/01
---
.obsidian/plugins/shamsi-date-converter/If a source property exists but has no value:
Watched on start:
The plugin will skip it (no Shamsi date added until you fill in the source).
You can have files with different combinations:
The plugin handles all cases gracefully!
Want to contribute or customize?
main.jsMIT License - feel free to use and modify as needed.
If you encounter issues:
This project is offered for free so everyone can use it without restrictions. If you found this tool useful, you can support its continuous development and improvement through donations.
Enjoy seamless Gregorian ↔ Shamsi date conversion! 🎉📅