trRouting icon indicating copy to clipboard operation
trRouting copied to clipboard

housekeeping: onlyDates and exceptDates are not used in the Service object

Open greenscientist opened this issue 4 years ago • 8 comments

These are the only user of boost:date_time (see #128).

greenscientist avatar Apr 02 '22 12:04 greenscientist

(includes/service.hpp)

greenscientist avatar Apr 02 '22 12:04 greenscientist

these are gtfs fields that we must support in the future. if we make the api public, most people will want these for filtering

Envoyé de mon iPhone

Le 2 avr. 2022 à 08:37, Yannick Brosseau @.***> a écrit :

 (includes/service.hpp)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

kaligrafy avatar Apr 02 '22 13:04 kaligrafy

We currently pull a boost library for no reason just for that.

greenscientist avatar Apr 02 '22 13:04 greenscientist

OK, we can add it back later

kaligrafy avatar Apr 02 '22 14:04 kaligrafy

What is the format in the file ? Would keeping them as string be an option?

greenscientist avatar Apr 02 '22 14:04 greenscientist

these are arrays of date strings (2000-12-12)

kaligrafy avatar Apr 02 '22 15:04 kaligrafy

in the capnp file i don't know. let me see

kaligrafy avatar Apr 02 '22 15:04 kaligrafy

List(Text) in capnp ServiceCollection

kaligrafy avatar Apr 02 '22 15:04 kaligrafy