Minimal Timestamp Updater
pendingby Armotrine
One-click update a frontmatter date property to the current date.
Minimal Timestamp Updater
A lightweight Obsidian plugin that updates a specified frontmatter property to the current date with a single click or command.
Features
- Update any frontmatter property to today's date instantly
- Only updates notes that already have the specified property — never adds it to notes that don't have it
- Configurable property name (default:
updated) - Configurable date format using Moment.js syntax (default:
YYYY-MM-DD) - Optional ribbon icon in the left sidebar for one-click access
- Zero external runtime dependencies — uses Obsidian's built-in Moment.js
Installation
Manual
- Download
main.js,manifest.json, andstyles.cssfrom the latest release - Create a folder at
<vault>/.obsidian/plugins/update1click/ - Copy the three files into that folder
- In Obsidian: Settings → Community plugins → Reload plugins → Enable "Minimal Timestamp Updater"
BRAT (Beta Reviewers Auto-update Tester)
- Install the BRAT plugin
- In BRAT settings, click Add Beta plugin and enter this repository URL
- Enable the plugin in Settings → Community plugins
Usage
Command palette
Open the command palette (Cmd/Ctrl + P) and run:
Update Date Property: 更新日期属性
Ribbon icon
Click the calendar icon in the left sidebar (enabled by default, can be toggled in settings).
The active note's frontmatter will be updated:
---
updated: 2026-03-23
---
Settings
| Setting | Default | Description |
|---|---|---|
| Property name | updated | The frontmatter key to update |
| Date format | YYYY-MM-DD | Moment.js format string |
| Show ribbon icon | true | Toggle the sidebar calendar button |
Common date formats:
| Format | Output |
|---|---|
YYYY-MM-DD | 2026-03-23 |
YYYY/MM/DD | 2026/03/23 |
YYYY-MM-DD HH:mm | 2026-03-23 14:30 |
MMM D, YYYY | Mar 23, 2026 |
Development
git clone https://github.com/Armotrine/minimal-timestamp-updater.git
cd minimal-timestamp-updater
npm install
npm run build # outputs main.js
For live development, use npm run dev (generates source maps).
License
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.