Widget:InitPageBossScript: mudanças entre as edições

Ir para navegação Ir para pesquisar
Sem resumo de edição
Etiqueta: Reversão manual
Sem resumo de edição
Linha 10: Linha 10:


   const url = window.location.origin;
   const url = window.location.origin;
   const actualWeekNumber = new Date().getWeekNumber();
   let actualWeekNumber = new Date().getWeekNumber();
  const today = new Date();
 
  if(today.getDay() === 1) {
    if(d.getHours() < 7 && d.getMinutes() < 40) actualWeekNumber--;
  }
 
   const bossCard = document.getElementById('boss-card');
   const bossCard = document.getElementById('boss-card');