Skip to content

Obsidian plugin that updates front matter to include creation and last update times

License

Notifications You must be signed in to change notification settings

dsebastien/obsidian-update-time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Obsidian Update Time

This Obsidian plugin updates the front matter in your notes to include the creation and last update dates/times. Once the plugin is installed and enabled, it will automatically add/update the properties in your metadata.

This plugin is a simplified reimplementation of the update-time-on-edit plugin. It was created because the original plugin did not work with Obsidian Publish (cfr this issue: beaussan/update-time-on-edit-obsidian#75)

Features

Whenever a file change is detected (whether made in Obsidian or not), this plugin updates the metadata of the file to include up to date creation and modification dates. By default, the information is stored in the created and updated properties.

The creation and modification times that are set correspond to the file's ctime (file creation time) and mtime (last modification time).

This plugin supports folder exclusions, to avoid updating certain files (e.g., templates).

Remember to backup your vault since this plugin will modify files.

Configuration

Once installed, you need to go to the settings of the plugin to enable it. It is disabled by default to ensure you have time to configure it.

In the configuration, you can add a list of folders to exclude.

News & support

To stay up to date about this plugin, Obsidian in general, Personal Knowledge Management and note-taking, subscribe to my newsletter. Note that the best way to support my work is to become a paid subscriber ❤️.

Known issues

When this plugin is enabled, it reacts to all file modifications, whether those are made inside or outside of Obsidian. If you are using a synchronization solution such as Obsidian Sync or Syncthing, and if Obsidian is open on multiple devices at the same time, then it can create file conflicts. To avoid this, make sure you don't leave Obsidian open on multiple devices at once, or only enable this plugin on a single device.

About

Obsidian plugin that updates front matter to include creation and last update times

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published