Update gpssim.c

Reverted
This commit is contained in:
OSQZSS 2021-10-16 12:02:16 +09:00
parent bf998ab36c
commit 366d4c4a29

View File

@ -1819,8 +1819,9 @@ int main(int argc, char *argv[])
t0.sec = (double)gmt->tm_sec;
date2gps(&t0, &g0);
break;
}
break;
case 't':
sscanf(optarg, "%d/%d/%d,%d:%d:%lf", &t0.y, &t0.m, &t0.d, &t0.hh, &t0.mm, &t0.sec);
if (t0.y<=1980 || t0.m<1 || t0.m>12 || t0.d<1 || t0.d>31 ||