const currentPage = dv.current().file; const dailyPages = dv.pages('"0-Daily"').sort(k=>k.file.name, "asc"); const currentPageName = currentPage.name; const index = dailyPages.findIndex((e) => {return e.file.name === currentPageName}); if (index < 1) { dv.table(["File", "Created", "Size"],[]); } else { const lastIndex = index - 1; const lastPage = dailyPages[lastIndex].file; const allPages = dv.pages().values; const searchPages = []; const lastTime = dv.parse(lastPage.name); const currentTime = dv.parse(currentPage.name); for (let page of allPages) { const pageFile = page.file; if (pageFile.cday > lastTime && pageFile.cday <= currentTime) { searchPages.push(pageFile); } } dv.table(["File", "Created", "Size"], searchPages.sort((a, b) => a.ctime > b.ctime ? 1 : -1).map(b => [b.link, b.ctime, b.size])); } GitHub 开源项目推荐 open-source 2. GitHub 热搜项目 2.1 处理 PDF 的神器:Stirling-PDF 2.2 TikTok 下载器:TikTokDownloader 2.3 程序员的便签:heynote 3. HelloGitHub 热评 3.1 OpenAI 接口管理系统:one-api 3.2 炫酷的量子纠缠效果:multipleWindow3dScene