Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files deployed have incorrect timestamps / time zone #2597

Open
FranklinWhale opened this issue Dec 6, 2023 · 2 comments
Open

Files deployed have incorrect timestamps / time zone #2597

FranklinWhale opened this issue Dec 6, 2023 · 2 comments

Comments

@FranklinWhale
Copy link

The files deployed to Azure using this extension have incorrect timestamp, which is always off by the difference between UTC and the local computer time zone.

@nturinski
Copy link
Member

Hi @FranklinWhale

Could you share the logs that display the timestamps? Some of the log messages aren't coming from us, but rather they come from the deployment service (Kudu).

If it's coming from Kudu, there's not much that we can do about that.

@nturinski nturinski added the info-needed See https://aka.ms/azcodeissuereporting label Dec 13, 2023
@FranklinWhale
Copy link
Author

FranklinWhale commented Dec 16, 2023

I am not sure where I may get the logs, but here are some screenshots showing the problem:

The files are last-modified at 2023-12-15 03:10 +08:00:
image

After the files were deployed, the timestamp is 2023-12-15 11:10 +08:00 / 03:10 +00:00.
image

The incorrect timestamp is also used in the HTTP response of the file:
image

The timezone of the App Service is UTC:
image

I wonder if the ZIP file created by the App Service Extension has incorrect timestamp, either with the timezone missing, or not using UTC in the ZIP file.

@MicroFish91 MicroFish91 added investigate and removed info-needed See https://aka.ms/azcodeissuereporting labels Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants