Skip to content

Commit

Permalink
parser: interpolation if trimmed stop time is empty (before: empty st…
Browse files Browse the repository at this point in the history
…ring)
  • Loading branch information
felixguendling committed Jan 4, 2025
1 parent 973f636 commit e5b1a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loader/gtfs/parse_time.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e5b1a20

Please sign in to comment.