function v(t,s,i){const a=t.getTime()-s.getTime();let e=0;switch(i){case"d":e=a/(1e3*60*60*24);break;case"h":e=a/(1e3*60*60);break;case"m":e=a/(1e3*60);break;case"s":e=a/1e3;break}return e}const n=(t,s)=>{var i=t,a=s,e=a-i,r=Math.floor(e/(24*3600*1e3));r<0&&(r=r*-1);var o=e%(24*3600*1e3),c=Math.floor(o/(3600*1e3));return r+"\u5929 "+c+"\u5C0F\u65F6 "};export{v as g,n as i};
