Closed JDeeth closed 1 year ago
Why do we need to accept H in the format?
For the half-minute timings e.g.:
That screenshot is for timetable times, which already support H. The code you changed is related to activities.
I can see now. The code is attempting to get activities and if it doesn't get any AND the entry was not just NNNN then it errors like you showed. You are correct with the need to change this to also accept the H, however you have also added an optional colon between the first and second pair of numbers which I don't think is correct.
Sorry, might be misremembering, I thought times could be entered either as 2118
or as (text) 21:18
(and 2118H
, 21:18H
...)?
Please see the PR comment. Otherwise good to go.
I get the above error when importing this timetable created - created with LibreOffice, I don't know if this is a factor: Libreoffice H error demo.xlsx If I remove the H from the times they are imported without error.