pavkam/tzdb

Delphi 2007 support

Opened this issue · 1 comments

RrnR commented

I have several Delphi 2007 projects that I want to use TZDB for. It ticks a lot of boxes and I appreciate the effort that must go into maintaining it. ;-) ) For historical reasons, I'm stuck with D2007. The TZDB source set contains 2 files called TZDB.pas. One is small (tens of K), one larger (100's of k).

If I set up my library paths to make the smaller one visible, the applications compile/build. The build seems to produce a fresh TZDB.dcu

If I set up my library paths to make the larger one visible, the compile snags, announcing that I need a later version of Delphi to compile.

I'm feeling slightly vulnerable here when it comes to updating TZDB. I read that all you need to do to use TZDB is put TZDB.pas on your library path and use tzdb in your uses clause. No mention of TZDB.inc but it must be a requirement also.

Is it intended to maintain Delphi 2007 support at this level? I.e. if I update TZDB.pas (the lesser) and TZDB.inc every so often I'll be OK?

Also I'm just wondering: Why are there two different source files with the same name in a source set?