From 5aacf524e63c46ba03a84316daa521814814676c Mon Sep 17 00:00:00 2001 From: Jim Rollenhagen Date: Wed, 10 Jun 2015 17:00:23 -0700 Subject: [PATCH] Allow seconds in -t option The man page and POSIX standards dictate that this option should allow appending seconds to the -t argument. Drop the code that drops seconds to support this. --- at.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/at.c b/at.c index 5f5038d..47a80f7 100644 --- a/at.c +++ b/at.c @@ -857,8 +857,6 @@ main(int argc, char **argv) fprintf(stderr, "invalid date format: %s\n", optarg); exit(EXIT_FAILURE); } - /* drop seconds */ - timer -= timer % 60; break; default: -- 2.4.2