lukos / simsig_importer

.Net Desktop Application for converting Excel simplified timetables into Simsig timetables
GNU General Public License v3.0
3 stars 1 forks source link

The half minute (H) is stripped from the times #47

Closed breadje closed 2 years ago

breadje commented 2 years ago

The current WTT's have half minutes in them. In simsig these can be added by adding a H after the time ('11/10H'). I added this in the excel sheet ('1110H') but it looks like the 'H' is stripped from the time.

lukos commented 2 years ago

Yes, these are not supported yet, I didn't know this was how it was in simsig, I will look to add them.

lukos commented 2 years ago

Note that H adds 1 to the allowances, which are stored in multiples of 30 seconds and it adds 30 to arrival/dep times which are stored in seconds.

lukos commented 2 years ago

We will simply extract the current code which directly converts the times to SimSig times into a method and do a little more logic. if (content.EndsWith("H")) ...