2 lines
859 B
JavaScript
2 lines
859 B
JavaScript
const n=[{text:"\u4ECA\u5929",value:()=>{const e=new Date;return[new Date,e]}},{text:"\u6628\u5929",value:()=>{const e=new Date,t=new Date;return t.setDate(t.getDate()-1),e.setDate(e.getDate()-1),[t,e]}},{text:"\u6700\u8FD17\u5929",value:()=>{const e=new Date,t=new Date;return t.setDate(t.getDate()-7),[t,e]}},{text:"\u6700\u8FD130\u5929",value:()=>{const e=new Date,t=new Date;return t.setDate(t.getDate()-30),[t,e]}},{text:"\u4E0A\u6708",value:()=>{const e=new Date,t=new Date;return t.setMonth(t.getMonth()-1),t.setDate(1),e.setDate(0),[t,e]}},{text:"\u672C\u6708",value:()=>{const e=new Date,t=new Date;return t.setDate(1),e.setMonth(e.getMonth()+1),e.setDate(0),[t,e]}},{text:"\u672C\u5E74",value:()=>{const e=new Date,t=new Date;return t.setMonth(0),t.setDate(1),e.setFullYear(e.getFullYear()+1),e.setMonth(0),e.setDate(0),[t,e]}}],a=n;export{a as s};
|