diff --git a/src/loader/gtfs/parse_time.cc b/src/loader/gtfs/parse_time.cc index d29b604e..fad4c099 100644 --- a/src/loader/gtfs/parse_time.cc +++ b/src/loader/gtfs/parse_time.cc @@ -7,7 +7,7 @@ namespace nigiri::loader::gtfs { duration_t hhmm_to_min(utl::cstr s) { - if (s.empty()) { + if (s.trim().empty()) { return kInterpolate; } else { int hours = 0;