Hi Dmitry,

>> However, this is affecting a large (10s) of packages. I suspect that
>> this is related to timezone handling (or lack thereof).
>
> It is probably caused by this change:
>
> https://github.com/sphinx-doc/sphinx/pull/12907
>
> Now, $SOURCE_DATE_EPOCH is assumed to be UTC time, and then it is converted
> to the current local time.
>
> What would be the right approach here? Do not perform any time zone
> conversions when $SOURCE_DATE_EPOCH is set, i.e. indent the "if local_time"
> block by two levels?

Sounds like a good approach, and, indeed, it seems to be basically the
one you took:

  
https://salsa.debian.org/python-team/packages/sphinx/-/commit/c89b6d82969823f9eb8d1be3aa0e03b8d48c8cf8

Thanks for the quick turnaround. :)


Best wishes,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org 🍥 chris-lamb.co.uk
       `-

Reply via email to