An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Improve database date format menu selection indicator https://github.com/siyuan-note/siyuan/issues/10610
Daniel99e8909aa5f0
diff --git a/app/src/protyle/render/av/dateFormatMenu.ts b/app/src/protyle/render/av/dateFormatMenu.tsindex cd3f36a74b..be1ef88d17 100644--- a/app/src/protyle/render/av/dateFormatMenu.ts+++ b/app/src/protyle/render/av/dateFormatMenu.ts@@ -32,7 +32,8 @@ export const formatDate = (options: {const menu = new Menu(Constants.MENU_AV_COL_FORMAT_DATE);(["", "full", "month-day-year", "day-month-year", "year-month-day"] as TAVDateFormat[]).forEach((format) => {menu.addItem({- iconHTML: format === options.oldFormat ? '<svg><use xlink:href="#iconSelect"></use></svg>' : "",+ checked: format === options.oldFormat,+ iconHTML: "",label: getLabelByDateFormat(format),click() {transaction(options.protyle, [{