Skip to content

Timestamps of zipped files are UTC #244

@svenyonson

Description

@svenyonson

Summary

I zip a file from the iOS filesystem (log file). I then read that file as data and send it as an attachment in an email. When I receive the email, the zip file itself has the correct timestamp, but when I extract the zip, the enclosed file has a timestamp that equates to UTC (i.e. tomorrow for me, US Mountain time)

Steps to Reproduce

Create a file in iOS
Zip the file
Send the file
Extract the file
Observe the modification time of the file.

Expected Results

The timestamp of the extracted file should be in your timezone if originator and recipient are in the same timezone

Actual Results

The timezone is "tomorrow", 7 hours ahead, which is my UTC offset.

Screen Shot 2022-01-11 at 7 37 07 PM

Regression & Version

Related Link

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions