diff --git a/du3/program.c b/du3/program.c index 1352511..8aebbdc 100644 --- a/du3/program.c +++ b/du3/program.c @@ -17,9 +17,9 @@ int main() t.tm_mday += 7; if(t.tm_mon + 1 < 10){ - printf(" %d.%d.%d", t.tm_mday, t.tm_mon + 1, t.tm_year + 1900); - } else{ printf(" %d.0%d.%d", t.tm_mday, t.tm_mon + 1, t.tm_year + 1900); + } else{ + printf(" %d.%d.%d", t.tm_mday, t.tm_mon + 1, t.tm_year + 1900); }