miesi <miesi(at)pc-h(dot)de> writes:
> Maybe I'm blind, but where is the difference diff sees?
PST vs PDT. Apparently you're using a system-provided timezone database
that lacks support for wider-than-32-bit time_t, so that dates beyond
2038 aren't handled correctly.
regards, tom lane