// import CronParser from 'cron-parser'exportconstWEEK_MAP_EN={'sun':'0','mon':'1','tue':'2','wed':'3','thu':'4','fri':'5','sat':'6',}exportconstreplaceWeekName=(c)=>{if(c){c=c.toLowerCase()Object.keys(WEEK_MAP_EN).forEach(k=>{c=c.replace(newRegExp(k,'g'),WEEK_MAP_EN[k])})c=c.replace(newRegExp('7','g'),'0')}returnc}