Last Sync: 2026-01-08 22:34 (Mobile)

This commit is contained in:
2026-01-08 22:34:48 +09:00
parent fb2d3af133
commit 85aa76fba4
1909 changed files with 2505 additions and 142249 deletions

View File

@@ -1,10 +0,0 @@
<%
const getWeekNumber = (dateFrom = new Date()) => {
const currentDate = dateFrom.getDate();
const startOfMonth = new Date(dateFrom.setDate(1));
const weekDay = startOfMonth.getDay();
return parseInt(((weekDay - 1) + currentDate) / 7) + 1;
}
getWeekNumber(new Date());
getWeekNumber(new Date('2020-01-28'));
%>