- Timestamp:
- May 8, 2008, 4:19:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncapp.cpp
r841 r885 485 485 converttime(&cti, ww, tow); 486 486 487 int ii= ep->tk-3*60*60;488 if ( ii< 0) {489 ii+= 86400;487 int tk = ep->tk-3*60*60; 488 if (tk < 0) { 489 tk += 86400; 490 490 } 491 491 … … 493 493 line.sprintf("R%02d %04d %02d %02d %02d %02d %02d%19.12e%19.12e%19.12e\n", 494 494 ep->almanac_number, cti.year, cti.month, cti.day, cti.hour, 495 cti.minute, cti.second, -ep->tau, ep->gamma, (double) ii);495 cti.minute, cti.second, -ep->tau, ep->gamma, (double) tk); 496 496 } 497 497 else if (_rinexVers == 2) { … … 499 499 ep->almanac_number, cti.year%100, cti.month, cti.day, 500 500 cti.hour, cti.minute, (double) cti.second, -ep->tau, 501 ep->gamma, (double) ii);501 ep->gamma, (double) tk); 502 502 } 503 503 allLines += line;
Note:
See TracChangeset
for help on using the changeset viewer.