summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5d872a5)
raw | patch | inline | side by side (parent: 5d872a5)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 31 Jan 2002 11:56:24 +0000 (11:56 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 31 Jan 2002 11:56:24 +0000 (11:56 +0000) |
program/src/parsetime.c | patch | blob | history |
index cea967caaed7653e19ffd0a522d04dcc3ac64a1e..a081d58507ed975e0f739be5c89bc5c10871ec2e 100644 (file)
--- a/program/src/parsetime.c
+++ b/program/src/parsetime.c
*/
wday = (sc_tokid-SUN);
ptv->tm.tm_mday += (wday - ptv->tm.tm_wday);
+ token();
break;
/*
mday = ptv->tm.tm_mday;
/* Only absolute time specifications below */
case NUMBER:
try(tod(ptv))
- if (sc_tokid != NUMBER) break;
+ try(day(ptv))
+ break;
/* fix month parsing */
case JAN: case FEB: case MAR: case APR: case MAY: case JUN:
case JUL: case AUG: case SEP: case OCT: case NOV: case DEC: