summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/at/parsetime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/at/parsetime.c b/usr.bin/at/parsetime.c
index 64c4eeaea1ee..30e9043ed085 100644
--- a/usr.bin/at/parsetime.c
+++ b/usr.bin/at/parsetime.c
@@ -116,7 +116,7 @@ static char *sc_token; /* scanner - token buffer */
static size_t sc_len; /* scanner - lenght of token buffer */
static int sc_tokid; /* scanner - token id */
-static char rcsid[] = "$Id: parsetime.c,v 1.1 1993/12/05 11:37:05 cgd Exp $";
+static char rcsid[] = "$Id: parsetime.c,v 1.1 1994/01/05 01:09:08 nate Exp $";
/* Local functions */
@@ -447,7 +447,7 @@ month(tm)
*/
mon = (sc_tokid-JAN);
expect(NUMBER);
- mday = atol(sc_token)-1;
+ mday = atol(sc_token);
if (token() == NUMBER) {
year = atol(sc_token);
token();