Skip to content

rail

  • Public transport timetables in GTFS feeds, where a stop time runs past midnight and still belongs to the service day its trip began on.

The Rail industry’s own namespace. What it solves, and the guides and tools that show it, are on Rail.

  • gtfsToInstant: The UTC instant a GTFS time names on its service day in the agency’s time zone.
  • formatGtfsTime: Writes a GTFS Schedule Time value, keeping the days past the service day in the hour.
  • parseGtfsTime: Reads a GTFS Schedule Time value, keeping the days past the service day apart from the time of day.
  • isValidGtfsTime: Checks a GTFS Schedule Time value, including one past 24:00:00.
© 2026 NorthGuild · Licences

Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else: © 2026 NorthGuild, all rights reserved.