kontakt: [email protected]
Widżet:Orgonity: Różnice pomiędzy wersjami
Przejdź do nawigacji
Przejdź do wyszukiwania
imported>Sługa szatana mNie podano opisu zmian |
imported>Sługa szatana mNie podano opisu zmian |
||
Linia 45: | Linia 45: | ||
a.setMilliseconds(0); | a.setMilliseconds(0); | ||
// zajebane ze stackoverflow | // zajebane ze stackoverflow | ||
a.setDate(a.getDate() + (13 - a.getDay()) % 7); | a.setDate(a.getDate() + ((13 - a.getDay()) % 7)); | ||
let b = new Date(); | let b = new Date(); | ||
let r = interval(Math.abs(b - a)); | let r = interval(Math.abs(b - a)); |