Update frontmatter modified date

by Alan Grainger
5
4
3
2
1
Score: 66/100

Description

The Update frontmatter modified date plugin is a game-changer for Obsidian users who want to keep their notes organized and up-to-date. This plugin automatically updates the modified property in your frontmatter/YAML when you edit a note, ensuring that your notes always reflect the latest changes. With its customizable options, you can specify which YAML field name to use, date format, and even exclude certain folders from being updated.

One of the unique features of this plugin is its ability to track edits independently of the filesystem modified time. This means that the frontmatter will only update when you actively work on a file within Obsidian, eliminating any unnecessary updates. The plugin also includes options to append dates to a history array and exclude specific files or folders from being updated.

Overall, the Update frontmatter modified date plugin is a powerful tool for keeping your notes tidy and up-to-date, with its customizable settings and intelligent update mechanism making it a must-have for any Obsidian user.

Reviews

No reviews yet.

Stats

158
stars
46,213
downloads
19
forks
988
days
160
days
160
days
7
total PRs
0
open PRs
4
closed PRs
3
merged PRs
63
total issues
8
open issues
55
closed issues
14
commits

Latest Version

5 months ago

Changelog

  • Remove default locale in case it impacts other usage of MomentJS

README file from

Github

Update modified field on edit

This plugin will automatically update a modified property in your frontmatter/YAML when you edit a note.

This is different from other plugins in that it does not use the filesystem modified time. The frontmatter will only update when you actually work on a file inside Obsidian.


Options

  • Specify whatever YAML field name you prefer.
  • Specify the date format, using MomentJS format.
  • Exclude folders which you don't want to be automatically updated. This is important for anywhere you store your scripts or Templater templates.

Date format

This is specified in MomentJS format.

You should note that this doesn't necessarily need to be only a date. Moment format lets you put any free text inside square brackets [], for example D [of] MMMM. Some ways this might be useful in Obsidian is if you want to make your date into a link.

You would specific a link like this (which is surrounding Obsidian's normal wikilink brackets with extra square brackets):

[[[]YYYY-MM-DD[]]]

Use typing events instead of Obsidian events

The modified time will update when Obsidian fires an editor-change event. If you have another plugin like Linter or an external application updating your files, the modified date will update.

If you want to avoid updates from other processes modifying your notes, turn on the setting to "Use typing events instead of Obsidian events".

Excluding files

You can exclude a folder and all its subfolders in the Settings page.

If you want to exclude a single file, you can add a property called exclude_modified_update and give it a value. Setting it to true or using the Checkbox property type would be the most sensible option.

Append date to history

You can also append the date to a history array by adding a checkbox property called append_modified_update. This is useful if you want to keep track of every time you edit a note.

🚩 Warning

Removing the append_modified_update property from the frontmatter will remove all saved modification dates.

The default frequency of entries is maximum one per day - so if you update a note on the same day it will modify the existing entry for that day, rather than appending a new one.

If you wish to change that frequency, you can edit your data.json file and change the value for appendMaximumFrequency. You can use any MomentJS unit of time, e.g. second, minute, hour, month etc.


"Merging changes" popup

It's possible when using this plugin that you will see a message like this, however it should be a rare occurance rather than the norm:

9kcmzhtlu0l81

This is due to the way Obsidian itself handles the frontmatter update. If you are typing into a note at the same time that Obsidian updates the frontmatter field, it will show that message. There is no "external" process modifying the file, it is Obsidian itself.

My plugin works by waiting for 10 seconds after you stop typing before updating the frontmatter. By doing it this way it reduces the chance of that message popping up. However, if you start typing again the exact instant Obsidian is updating the frontmatter field, you'll see that message. It won't affect anything, it's just annoying. Hopefully they resolve this at some point.

Please note that you do not need to have the file open for the frontmatter to update. The updates go into a queue and the file will update even after you close it.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Paste image rename
4 years ago by Reorx
Renames pasted images and all the other attachments added to the vault
Update time on edit
5 years ago by beaussan
Force note view mode
5 years ago by Benny Wydooghe
Trash Explorer
4 years ago by Per Mortensen
Restore and delete files from the Obsidian .trash folder
HTML Reader
4 years ago by Nuthrash
This is a plugin for Obsidian (https://obsidian.md). Can open document with .html and .htm file extensions.
VSCode Editor
3 years ago by Sun Xvming
Edit Code Files like VSCode in Obsidian.
Front Matter Title
4 years ago by Snezhig
Plugin for Obsidian.md
Telegram Sync
3 years ago by Burtasov Volodymyr
Transfer messages and files from Telegram to Obsidian
Better File Link
5 years ago by Marc Julian Schwarz
A plugin for the note taking app Obsidian to add better external file links to your notes.
File Order
3 years ago by lukasbach
Obsidian plugin to reorder files with drag-and-drop by customizing a number-prefix in the filenames
File Hider
4 years ago by Oliver Akins
A plugin for https://obsidian.md that allows hiding specific files and folders from the file explorer.
Syncthing Integration
3 years ago by LBF38
Obsidian plugin for Syncthing integration
Featured Image
a year ago by Johan Sanneblad
Obsidian plugin to automatically set a featured image property in your notes based on the first image, YouTube link, or Auto Card Link image found in your document. This allows you to create rich note galleries using Folder Notes and Dataview.
Frontmatter Tag Sugest
4 years ago by Jonathan Miller
Autocompletes tags in Obsidian YAML frontmatter. No more deleting #!
Simple Banner
a year ago by Sandro Ducceschi
Visually enhance your Obsidian notes with a customizable banner. Supports icons and time/date display.
Edit History
3 years ago by Antonio Tejada
Obsidian Edit History Plugin, automatically save all the edit history of a note, browse and restore previous versions
Luhman
5 years ago by Dylan Elliott
Folder Focus Mode
4 years ago by grochowski
Focus file explorer on chosen folder and its files and subdirectories, while hiding all the other elements.
Reveal Active File Button
4 years ago by Clare Macrae
Obsidian plugin to add a button to the top of the Obsidian File Explorer, to reveal the active file.
Merge Notes
3 years ago by fnya
Merge Notes is Plugin for Obsidian
Frontmatter Markdown Links
a year ago by mnaoumov
Obsidian Plugin that adds support for markdown links in frontmatter
Unique attachments
5 years ago by Dmitry Savosh
Obsidian plugin. Renames attachments, making their names unique.
Binary File Manager
4 years ago by qawatake
An Obsidian plugin to manage binary files
Dataview (to) Properties
10 months ago by Mara-Li
Sync inline Dataview to properties (YAML frontmatter)
Front Matter Timestamps
2 years ago by LighthouseDino
Auto Filename
3 years ago by rcsaquino
Auto Filename is an Obsidian.md plugin that automatically renames files in Obsidian based on the first x characters of the file, saving you time and effort.
Banners Reloaded
2 months ago by Dani García
A simple, fast, and lightweight way to add customizable banners to your notes.
Update Relative Links
4 years ago by val
Link indexer
5 years ago by Yuliya Bagriy
Vault Transfer
2 years ago by ImaginaryProgramming
Transfers a note from one vault to another.
CSV Lite
a year ago by Jay Bridge
Simple enough for csv, no more fancy function you need to learn and think!
Media Companion
a year ago by Nick de Bruin
Android nomedia
3 years ago by JakeisAwesome
When syncing Obsidian with Android you will see a lot of media associated with your vaults. This will add the .nomedia file to ever folder in your Vault.
Time Things
2 years ago by Nick Winters
Show clock, track time spent editing a note, and track the last time a note has been edited.
Note archiver
3 years ago by thenomadlad
FuzzyTag
3 years ago by Adrian
Fold Properties By Default
a year ago by Tommy Bergeron
Always have editor/metadata properties folded by default.
Frontmatter Alias Display
3 years ago by muhammadv-i
A plugin for Obsidian.md to show front-matter aliases as display names in the file menu.
Add an ID to the front matter
3 years ago by llimllib
Webdav File Explorer
3 years ago by red0orange
Cloudinary Uploader
4 years ago by Jordan Handy
An uploader for Obsidian to Cloudinary
Insert Multiple Attachments
a year ago by mnaoumov
Obsidian Plugin that allows to insert multiple attachments at a time
Screwdriver
4 years ago by vorotamoroz
Note aliases
3 years ago by Pulsovi
This plugin manages wikilinks aliases and save them on the aliases list of the linked note
File chucker
3 years ago by Ken Lim
File Preview
2 years ago by Huajin
Add file preview contents under file in file explorer.
Auto Front Matter
3 years ago by conorzhong
Frontmatter generator
3 years ago by Hananoshika Yomaru
A plugin for Obsidian that generates frontmatter for notes
Open File by Magic Date
4 years ago by simplgy
Open Related Url
4 years ago by Dan Pickett
Auto Archive
3 years ago by Shane Burke
Auto Archive plugin for Obsidian
Testing Vault
3 years ago by Michael Pedersen
External Rename Handler
a year ago by mnaoumov
Obsidian Plugin that handles external renames made outside of the app
Remove Empty Folders
3 years ago by fnya
Remove Empty Folders for Obsidian
Copy Metadata
3 years ago by wenlzhang
An Obsidian plugin to copy metadata to clipboard and insert it into file name.
Simple Image Inserter
2 years ago by Joey Holtzman
Add images from the file system into Obsidian notes through a built-in file explorer
Current View
10 months ago by Lucas Ostmann
Automatically set the view mode (Reading, Live Preview, Source) for notes in Obsidian using folder rules, file patterns, or frontmatter.
Blueprint
3 months ago by François Vaux
Repeatable templates plugin for Obsidian
Git File Explorer
2 years ago by Mateus Molina
Recently Added Files
a year ago by Lemon695
List files by last added, includes pictures, pdfs, etc.
Inbox Organiser
a year ago by Jamie Hurst
Obsidian plugin to capture any new notes into an inbox and periodically prompt to organise these into other folders within the vault.
Sort Frontmatter
2 years ago by Kanzi
Sort frontmatter automatically
Conditional Properties
4 months ago by Diego Eis
Automate frontmatter property updates in your Obsidian notes using simple conditional rules.
New Note Fixer
a year ago by mnaoumov
Obsidian Plugin that unifies the way non-existing notes are created when clicking on their links
Note UID Generator
a year ago by Valentin Pelletier
Allow you to automatically generate UID for the notes in your vault.
Local Any Files
a year ago by ShermanTsang
A obsidian plugin used to extract and download files in your obsidian note.
Cloud Storage
2 years ago by Jiajun Ma
Obsidian Cloud Storage is a powerful and user-friendly plugin designed to seamlessly integrate cloud storage capabilities into your Obsidian workflow. This plugin allows you to effortlessly upload your attachments to the cloud, freeing up local storage space and enabling easy sharing and access across all your devices.
Simple Archiver
a year ago by Mike Farr
An Obsidian plugin that enables you to quickly archive a single note or an entire folder of notes.
Colorful Note Background
4 months ago by andresgongora
Set note background based on file location or frontmatter metadata
Paste Image Into Property
a year ago by Nito
Markdown Hijacker
a year ago by Yongmini
Beyond the Vault. One hub for every Markdown, everywhere
Note Favicon
a year ago by mdklab
Obsidian plugin – Show Favicon from Metadata
S3agle
2 years ago by Turner Monroe (turnercore)
Connections
4 months ago by Eric Van Cleve
Update Time Updater
2 years ago by MURATAGAWA Kei
Obsidian plugin to update the 'update time' element when saving or manually.
AI Note Tagger
a year ago by Jasper Mayone
Auto tagging obsidian notes w/ AI
Graphic Organizer
2 months ago by Nick Le Guillou - Superhuman Curiosity
Interactive tree view for visualizing and managing your vault's file hierarchy.
Draft Indicator
2 years ago by Brian Boucheron
Show draft status with ✎ icons in the Obsidian file explorer.
Structured Copy: Files & Folders
a year ago by SchmidA
VaultSync
a year ago by Justin Bird
Obsidian plugin to link your vault to a cloud storage provider.
New Filename
a year ago by Amin Sennour
Simple plugin to change the default name for a new note from "Untitled" to a UUID.
Template Folder
10 months ago by LucasOe
Obsidian plugin to move notes to a folder when applying a template.
External File Card
2 years ago by James-Yu
A plugin for Obsidian showing a card displaying basic information of a file in pre-defined folders.
Tencent COS for Imgur
a year ago by bobostudio
🔥 Obsidian 腾讯云 COS 图床插件
NSFW filter
2 years ago by catvatar
Obsidian Plugin adding a button to toggle visiblity of NSFW notes
Remote Fetch
8 months ago by Shaharyar
Guid Renamer
2 years ago by Taskscape LTD, Kacper Pabianiak
Renames the currently selected file by providing a unique file name based on GUID pattern
Rename File to Selection
a year ago by Aava
Rename your file to the current text selection.
Publish Note to Mowen Note
9 months ago by ziyou
This is a mowen plugin for Obsidian (https://obsidian.md)
Frontmatter Metadata Link Classes
10 months ago by Varvara Zmeeva / zmeeva.io
Enhanced internal links with automatic classnames based on frontmatter metadata.
sync-db-os
2 years ago by ketd
Title-Only Tab
a year ago by tristone13th
a plugin of obsidian for to change showing tab name to short
WebDAV Explorer
2 months ago by 蓝星晓夜
WebDAV Explorer: Connect to WebDAV server, preview files directly in web view, and generate links through simple drag-and-drop.
Frontmatter to HTML Attributes
2 months ago by Tarek Saier
Makes YAML frontmatter available as data-* attributes in HTML, enabling metadata based CSS styling.
Insert Arknights URL Banner
10 months ago by Rerurate_514
Obsidianのプラグイン、img_dwnldr_wikigg_ak_ktに保存されている画像を選択してbannersプロパティに簡単に設定できるプラグイン