git ssb

0+

Rômulo Alves / dat-letnice



Commit b8017e7d4e7bfe88c7a57781f6d7485d56855594

fix day diff

nomand committed on 6/4/2018, 10:45:19 PM
Parent: 377256ce352a24d20932b101e1b6dca5dbb13bfe

Files changed

js/letnice.jschanged
js/letnice.jsView
@@ -61,9 +61,9 @@
6161 {
6262 style = "null";
6363 date--
6464 }
65- else if(day < new Date())
65+ else if(day < new Date(year, new Date().getMonth(), new Date().getDate(), 0))
6666 {
6767 style = "gone";
6868 }
6969 else if(day.getDay() == 5 || day.getDay() == 6)

Built with git-ssb-web