Tagging the last hours of the morning

Started by Benahmed Abdelkrim, September 29, 2026, 01:11:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Benahmed Abdelkrim

Hello,
Could you please extend the option for Tagging the last hours of the day to the last hours of the morning? We need this option for the morning-afternoon timetable.

Thanks in advance!
B.A/krim

Benahmed Abdelkrim

We need this option today if possible, please.
B.A/krim

Liviu Lalescu


Volker Dirr

#3
I am just home from work. Sorry for delay.

I am not sure if i understood correct.
Are you talking about TiTiTo -> Settings -> Comments -> Automatic Appendend
So the last option you also want to have for Morning?

hmm... I must think about. In fact after the import TiTiTo doesn't know anymore that you are using MA mode, since it is converted internally into a "normal day". hmm.... I must just do it also for the the 1st half of the day.

Tagging with the same string or do you need an other string for that?

Benahmed Abdelkrim

QuoteAre you talking about TiTiTo -> Settings -> Comments -> Automatic Appendend
Yes

QuoteSo the last option you also want to have for Morning?
Yes

QuoteTagging with the same string or do you need an other string for that?
Yes with the same string
B.A/krim

Volker Dirr

I started coding but I can't finish it today,
It is more work then I thought.
I need to do it for:
a) substitution and timetables
b) GUI and html export and printing

So I must do that at a lot of places.

I done it for html timetables right now. I still need to do it for the 3 other variants.
I also noticed a bug:
It is currently only correct, if the supervision hours are symmetric in the morning and in the afternoon. I also need to fix that first before continue coding the other 3 parts. Sadly guys might have added different number of supervision hours if they imported an MA FET timetable. I need to care about that also.

Sadly I have tomorrow no time to code and today is already too late to continue work.
So I can't finish this work before the weekend.

Sorry Benahmed, but I don't have holiday at the moment, so it is impossible for me to finish this task on a single day.

Benahmed Abdelkrim

No problem at all, dear Volker! many thanks for your interest. I didn't realize it would take time. I only need it for HTML tables.
B.A/krim

Benahmed Abdelkrim

For the moment, I would have to add them manually to the HTML code.
B.A/krim

Volker Dirr

I decided to recode that part. So far I calculate the tag "on the fly", but at nearly all places I already use cached data. I will add that flag to the cached data and pre-calculate it.
Small disadvantage: As soon as the setting for the tag will be changed, the cache must be updated. (But user will probably rarely do that and probably don't notice that it is slower, since computers are so fast today.)
Advantage: Less code at many other places and faster execution (Even this is probably not noticeable for a human, since computers are so fast today.)
I will let you know when I am ready. Sadly this week is sadly again much to do. Hopefully next weekend.

Benahmed Abdelkrim

B.A/krim