Btw, meanwhile I did a quick attempt to modernize FPC's Turbo Vision compatible lib (Free Vision) by migrating it from shortstring to ansistring (which is scheduled to become unicode aware in time).
Unfortunately this is a no go. Like Delphi, FPC doesn't support initialization/finalization for TP "object" objects, making such attempt extremely painful.
This means that nothing short of a rewrite on "class" basis will do.
Mo Tu We Th Fr Sa Su
28 29 30 31 1 2 3 │ 53
4 5 6 7 8 9 10 │ 1
I have compared this to 2 German paper calendars at work and a few
on the internet.
Also read here:
I am pretty sure that the calculation is correct.
Please recheck this with a few calendars where you live.
Stefan / AH