-
Notifications
You must be signed in to change notification settings - Fork 536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
markdown导出的date format的格式问题 #2599
Comments
嗨,谢谢反馈,目前这个时间设置还比较弱,只能显示 目前只能下个版本支持了。 |
好的谢谢。希望下个版本可以丰富一下这个功能
万分感谢
发自我的iPhone
在 2021年7月29日,19:35,Kenshin Wang ***@***.***> 写道:
嗨,谢谢反馈,目前这个时间设置还比较弱,只能显示 yyyy-MM-dd or yy-MM-dd hh:mm:ss 以及类似的方式,但确实不支持 yyyy-MM-DD dddd
目前只能下个版本支持了。
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#2599 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ASSPLEA4NQ4ICQNFI7BMAGDT2E4GTANCNFSM5BEOWIXQ>.
|
哈哈,应该的。有此功能后我会在这里通知你。 |
嗨 导入到 Obsidian 升级到 1.2.0 ,增加了 重磅功能:可以不通过同步助手,将标注自动导入到 Obsidian。 文档说明一站式教程https://simpread.zhubai.love/posts/2128393555537739776 视频Obsidian.mp4 |
用 logseq 的dailynote 习惯用 July 这种,或者是周几也标出来,于是找到了这个issue |
你想要什么格式?需要具体说明 |
作者你好,想要 |
我假设你使用了 “Markdown 模板辅助增强” 了这个插件,关于日期格式的细节可以参考"内置对象"相关说明。 因为你指定了 <%
let dateformat = sr_tmpl_fun.fmtDate( unread.create );
let day = dateformat("d"),
month = dateformat("mmm"),
year = dateformat("yyyy");
switch (day) {
case 1:
case 21:
case 31:
daySuffix = "st";
break;
case 2:
case 22:
daySuffix = "nd";
break;
case 3:
case 23:
daySuffix = "rd";
break;
default:
daySuffix = "th";
break;
};
let date = month + " " + day + daySuffix + ", " + year;
%>
<%- date %> // Oct 26th, 2022 p.s. 我是个 js 小白,一切以作者及其他大佬的说法为准。😂 |
非常厉害!谢谢你。 |
请问“2021-07-28 星期三” 这种格式该如何设置?
我在obsidian中使用“yyyy-MM-DD dddd”的即可实现“2021-07-28 星期三”的格式,但在简悦中是不可以的。
请教一下我该写什么内容才能实现我要的这种时间格式呢?
万分感谢🙏
The text was updated successfully, but these errors were encountered: