You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
paopao-ce/web/dist/assets/formatTime-936c40eb.js

2 lines
315 B

import{h as r}from"./moment-b7869f98.js";r.locale("zh-cn");const u=e=>r.unix(e).fromNow(),n=(e,o)=>{if(o)return r.unix(e).utc(!0).fromNow();let t=r.unix(e).utc(!0),m=r().utc(!0);return t.year()!=m.year()?t.format("YYYY-MM-DD HH:mm"):r().diff(t,"month")>3?t.format("MM-DD HH:mm"):t.fromNow()};export{u as a,n as f};