equal
deleted
inserted
replaced
21 } |
21 } |
22 |
22 |
23 if ((minutes < 0) || !(minutes < INT_MAX)) |
23 if ((minutes < 0) || !(minutes < INT_MAX)) |
24 return EXIT_FAILURE; |
24 return EXIT_FAILURE; |
25 |
25 |
26 printf ("%.3d:%.2d:%.2d:%.2d (yy:dd:hh:mm)\n", minutes / 60 / 24 / 365, (minutes / (60 * 24) % 365), |
26 printf ("%.2d:%.2d:%.2d:%.2d (yy:dd:hh:mm)\n", minutes / 60 / 24 / 365, (minutes / (60 * 24) % 365), |
27 (minutes / 60) % 24, minutes % 60); |
27 (minutes / 60) % 24, minutes % 60); |
28 |
28 |
29 return EXIT_SUCCESS; |
29 return EXIT_SUCCESS; |
30 } |
30 } |