Skip to content

Fix length of string extraction for VALID FROM/UNTIL fields in ANTEX#401

Open
AndreHauschild wants to merge 2 commits intogroops-devs:mainfrom
AndreHauschild:fixAntexValidityTimes
Open

Fix length of string extraction for VALID FROM/UNTIL fields in ANTEX#401
AndreHauschild wants to merge 2 commits intogroops-devs:mainfrom
AndreHauschild:fixAntexValidityTimes

Conversation

@AndreHauschild
Copy link
Contributor

No description provided.

@Hanbing59
Copy link
Contributor

Hi Andre,

as the format specifications of the "VALID FROM" and "VALID UNTIL" are 5I6,F13.7,17X, would you think it make more sense to modify the line for extracting seconds to
sec = String::toDouble(line.substr(30, 13));
instead of (although your version should work actually all the time as well)
sec = String::toDouble(line.substr(33, 10));

Regards,
Hanbing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants