#8186·scrapy

Fix timezone handling in `FilesPipeline` stores

Author: wRARCreated Sep 20, 2026Updated Sep 20, 2026
Labelsbugmedia pipelines

Found in https://github.com/scrapy/scrapy/pull/8182#discussion_r4053447020

Various FilesPipeline stores produce the last_modifed value as the UNIX timestamp and some or all of them may do it incorrectly, depending on what are the values returned by S3 and GCS and what is in FTP MDTM. Their tests may also hide these problems and may need to be improved.