diff --git a/du3/program.c b/du3/program.c index fb07489..4cd0450 100644 --- a/du3/program.c +++ b/du3/program.c @@ -17,10 +17,10 @@ if(m%2!=0 && day>31){ } if(m%2==0 && day>30){ if(m==2 &&(y%400==0 ||(y%100!=0 && y%4==0))){ - day-=28; + day-=29; } else if(m==2){ - day-=30; + day-=28; } else{ day-=30;