Description of problem: Epoch time is wrong when the date is after year 2038 and DST should be applied. But it is not and time without DST is returned. Version-Release number of selected component (if applicable): glibc-2.5-123 How reproducible: always Steps to Reproduce: 1. TZ=Europe/London date +%s -d '2038-05-05' 2. TZ=UTC date +%s -d '2038-05-05' 3. Actual results: 2156630400 for both cases Expected results: 2156626800 for London 2156630400 for UTC Additional info:
This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux.
This looks like it might be a tzdata bug. I'm going to ask our tzdata expert to look at this and see if there might be a forthcoming fix for this. The application of DST is based entirely on the timezone data files.