diff --git a/src/mes/indexMes/index.js b/src/mes/indexMes/index.js index c0168b5..2099b44 100644 --- a/src/mes/indexMes/index.js +++ b/src/mes/indexMes/index.js @@ -524,7 +524,7 @@ const HeaderConponent = () => { useEffect(() => { const getTime = () => { const currentTime = moment().format("YYYY-MM-DD HH:mm:ss"); - const currentWeek = moment().weekday(); + const currentWeek = moment().day(); setTime(`${currentTime}${" "}${" "}${sunTitle}${weekday[currentWeek]}`); };