From 371d1491639874bf1baa4a45abe3d76e9146705b Mon Sep 17 00:00:00 2001 From: Pavlo Tverdyi Date: Thu, 26 Mar 2020 10:56:26 +0000 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20'du3/program.c'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- du3/program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;