Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Natural Language Dates - Chinese

SKYueSKYue262 downloads

支持中文自然语言输入日期,如 @今天、@下周三、@3天后

Add to Obsidian
  • Overview
  • Scorecard
  • Updates5

Obsidian 插件,支持使用中文自然语言输入日期,快速插入日期链接或打开日记。

功能

输入 @ 触发日期建议菜单,或使用命令解析选中的中文日期文本。

gif-26062020

同时支持简体中文和繁体中文(如「週五」「下週三」「禮拜一」「勞動節」等)。

支持以下中文日期表达:

  • 相对日期:今天、明天、后天、大后天、昨天、前天、大前天
  • 星期:周一~周日、下周一、上周三、这周、下周、上周
  • 月份:本月、下个月、上个月、月底、月中
  • 年份:今年、明年
  • 数量+单位:3天后、五天前、2周后、1个月后
  • 序数词:第一~第三十一
  • 节日:元旦、国庆、劳动节、中秋、端午、圣诞等
  • 数字日期:2024-01-15、1月15日

命令

命令 说明
解析自然语言日期 将选中的中文日期替换为 [[日期|别名]] 链接
解析自然语言日期(纯文本) 将选中的中文日期替换为纯日期文本
用自然语言打开日记 输入中文日期后跳转到对应日记

设置

  • 日期格式:输出日期的 Moment.js 格式,默认 YYYY-MM-DD
  • 一周从周几开始:影响"本周""下周"等计算
  • 触发字符:触发自动建议的字符,默认 @
  • 日期包裹为链接:开启后自动建议的日期会包裹在 [[]] 中
  • 链接默认别名格式:创建 Wiki 链接时的别名格式(Moment.js 格式),如 MM月DD日。留空则使用原始输入作为别名

使用技巧

在 @ 弹出的建议菜单中:

  • 直接回车:插入带别名的日期链接(别名格式由设置决定)
  • Shift+Enter:插入纯日期链接,不使用别名

安装

社区插件市场

在 Obsidian 社区插件市场搜索「自然语言日期(中文)」安装。

手动安装

  1. 下载 main.js 和 manifest.json
  2. 放入 vault 的 .obsidian/plugins/nldates-chinese/ 目录
  3. 在设置中启用插件

开发

npm install
npm run dev   # 开发模式,自动监听文件变化
npm run build # 构建
HealthExcellent
ReviewCaution
About
输入中文自然语言日期以快速生成或插入日期。支持相对日期、星期、月份、年份、节日、序数与数字日期;按 @ 或运行命令可插入日期文本、生成 wiki/Markdown 链接、打开对应日记或调出日期选择器。
DatesNavigationAutocomplete
Details
Current version
1.1.0
Last updated
3 days ago
Created
Last month
Updates
5 releases
Downloads
262
Compatible with
Obsidian 1.12.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
SKYueSKYueskyue
www.skyue.com
GitHubskyue
  1. Community
  2. Plugins
  3. Dates
  4. Natural Language Dates - Chinese

Related plugins

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Homepage

Open a note, base, or workspace on startup, or set it for quick access later.

Recent Files

Display a list of recently opened files.

Breadcrumbs

Visualise the hierarchy of your vault using a breadcrumb trail or matrix view.

Vertical Tabs

Offer an alternative view that displays open tabs vertically, allowing users to group and organize tabs for a better navigation experience.

TagFolder

Show tags as folder.

Tasks

Track tasks across your vault. Supports due dates, recurring tasks, done dates, sub-set of checklist items, and filtering. Maintained by Clare Macrae and Ilyas Landikov, created by Martin Schenck.

Numerals

Turn any code block into an advanced calculator. Evaluate math expressions on each line of a code block, including units, currency, and optional TeX rendering.

Update modified date

Automatically update a frontmatter modified date field when the file is modified.

Folder notes

Create notes within folders that can be accessed without collapsing the folder, similar to the functionality offered in Notion.