upload project source code

This commit is contained in:
2026-04-30 18:49:43 +08:00
commit 9b394ba682
2277 changed files with 660945 additions and 0 deletions

View File

@@ -0,0 +1 @@
import{ar as e,ew as t,ex as a,aw as r,ac as n}from"./.pnpm.DGfAnZKL.js";function o(t,a="YYYY-MM-DD HH:mm:ss"){return e(t).format(a)}const m=(o=!0)=>{let m;const s=n({year:0,month:0,week:"",day:0,hour:"",minute:"",second:0,meridiem:""}),c=()=>{const t=e(),a=t.format("HH"),r=t.format("mm"),n=t.get("s");s.year=t.get("y"),s.month=t.get("M")+1,s.week="星期"+["日","一","二","三","四","五","六"][t.day()],s.day=t.get("date"),s.hour=a,s.minute=r,s.second=n,s.meridiem=t.format("A")};function i(){c(),clearInterval(m),m=setInterval(()=>c(),1e3)}function u(){clearInterval(m)}return t(()=>{o&&i()}),a(()=>{u()}),{...r(s),start:i,stop:u}};export{o as f,m as u};