summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 569544b)
raw | patch | inline | side by side (parent: 569544b)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 18 May 2004 18:54:50 +0000 (18:54 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 18 May 2004 18:54:50 +0000 (18:54 +0000) |
program/src/parsetime.c | patch | blob | history |
index fa2e9b5d8a4353ae6b906f18df53c1bac3742aff..e5a297c979f8f4fa4c1d6bfdb1401f1828180dc8 100644 (file)
--- a/program/src/parsetime.c
+++ b/program/src/parsetime.c
*/
tlen = strlen(sc_token);
mon = atol(sc_token);
- if (mon > 10*356*24*60*60) {
+ if (mon > 10*365*24*60*60) {
ptv->tm=*localtime(&mon);
token();
break;