Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
danovaro committed Oct 27, 2023
1 parent 66302b1 commit f9dcdf1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/eckit/types/Time.cc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ Time::Time(const std::string& s, bool extended) {
if (std::regex_match (s, m, std::regex("^-?[0-9]+$"))) { // only digits
long t = std::stol(s);
int sign = (s[0] == '-' ? 1 : 0);
std::cout << "\"" << s << "\" " << t << " " << sign << std::endl;
if (extended || s.length() <= 2+sign) { // cases: h, hh, (or hhh..h for step parsing)
hh = t;
} else {
Expand Down

0 comments on commit f9dcdf1

Please sign in to comment.