Widżet:Orgonity: Różnice pomiędzy wersjami

Z ChanWiki
Przejdź do nawigacji Przejdź do wyszukiwania
imported>Sługa szatana
mNie podano opisu zmian
imported>Sługa szatana
mNie podano opisu zmian
Linia 46: Linia 46:
         let b = new Date();
         let b = new Date();
         // zajebane ze stackoverflow
         // zajebane ze stackoverflow
         a.setDate(a.getDate() + (5 - b.getDay() + 7) % 7 + 1);
         a.setDate(a.getDate() + (12 - b.getDay()) % 7 + 1);
         let r = interval(Math.abs(b - a));
         let r = interval(Math.abs(b - a));
         let formatted = format(r);
         let formatted = format(r);

Wersja z 05:19, 19 gru 2020