Minimal Timestamp Updater

pending

by Armotrine

One-click update a frontmatter date property to the current date.

Updated 8d agoMITDiscovered via Obsidian Unofficial Plugins
View on GitHub

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

  1. Download main.js, manifest.json, and styles.css from the latest release
  2. Create a folder at <vault>/.obsidian/plugins/update1click/
  3. Copy the three files into that folder
  4. In Obsidian: Settings → Community plugins → Reload plugins → Enable "Minimal Timestamp Updater"

BRAT (Beta Reviewers Auto-update Tester)

  1. Install the BRAT plugin
  2. In BRAT settings, click Add Beta plugin and enter this repository URL
  3. 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

SettingDefaultDescription
Property nameupdatedThe frontmatter key to update
Date formatYYYY-MM-DDMoment.js format string
Show ribbon icontrueToggle the sidebar calendar button

Common date formats:

FormatOutput
YYYY-MM-DD2026-03-23
YYYY/MM/DD2026/03/23
YYYY-MM-DD HH:mm2026-03-23 14:30
MMM D, YYYYMar 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

MIT

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.