Last Sync: 2026-01-01 23:18 (Mobile)

This commit is contained in:
2026-01-01 23:18:34 +09:00
parent efefcb9046
commit 5875f2b9e4
2719 changed files with 254620 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<%
moment(tp.file.title, "YYYY-MM-DD").startOf("month").format("ddd")
%>
<% tp.date.weekday("YYYY-MM-DD", 4) %>
<%*
const getWeek = (date) => {
const currentDate = date.getDate();
const firstDay = new Date(date.setDate(1)).getDay();
return Math.ceil((currentDate + firstDay) / 7);
};
const week = getWeek(new Date("moment(tp.file.title, "YYYY-MM-DD")"));
console.log(week + "주차");
// 2주차
%>