Thomas Lockhart <lockhart@fourpalms.org> writes:
>> Why should we rely on broken glibc and the standard? Why don't we make
>> our own mktime() and use it on all platforms.
> The downside to doing that is that we then take over maintenance of the
> code and, more importantly, the timezone database.
> But it might be the best thing to do.
I've been sorta thinking the same thing. We could get out from under
the Y2038 issue, and also eliminate a whole lot of platform
dependencies. Not to mention sillinesses like being unable to recognize
a bad timezone name when it's fed to us.
Exactly how much work (and code bulk) would we be taking on? I've
never looked at how big the timezone databases are...
regards, tom lane