Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

front: fix travel time >1h in OSRD → NGE conversion #9035

Merged
merged 1 commit into from
Oct 1, 2024

Commits on Oct 1, 2024

  1. front: fix travel time >1h in OSRD → NGE conversion

    Multiple issues here:
    
    - Source or target "time" may be zero or null, zero means it's
      set but top of the hour, null means unset/unknown. We still want
      to compute the travel time if it's zero.
    - Travel "time" field doesn't need to be computed modulo 1h, because
      it's a duration, not an absolute time.
    - Travel "consecutiveTime" field needs to be populated as well.
    
    Signed-off-by: Simon Ser <contact@emersion.fr>
    Closes: #8862
    emersion committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    4bc0dff View commit details
    Browse the repository at this point in the history