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

The resource's created time is not matched #3406

Closed
tigerzioo opened this issue May 19, 2024 · 7 comments
Closed

The resource's created time is not matched #3406

tigerzioo opened this issue May 19, 2024 · 7 comments

Comments

@tigerzioo
Copy link

Describe the bug

资源库里显示的文件上传的月份不对,有一个月的误差。四月上传的会显示在三月,现在上传一个图片,还是显示在四月。

Steps to reproduce

上传文件,点击资源库,刚上传的文件显示在4月里。

The version of Memos you're using

21.0 和 22.0 都有这个问题,估计以前的也有

Screenshots or additional context

No response

@tigerzioo tigerzioo added the bug Something isn't working label May 19, 2024
@Issues-translate-bot
Copy link

Issue is not in English. It has been translated automatically.


Title: The file upload month displayed in the resource library is incorrect.

@boojack boojack added need more context and removed bug Something isn't working labels May 20, 2024
@boojack
Copy link
Collaborator

boojack commented May 20, 2024

Unable to reproduce. Maybe you can take a look for the time zone where your service is located, or provide a real data from your database.

image

@tigerzioo
Copy link
Author

tigerzioo commented May 20, 2024

See screenshot. I uploaded an image (download.jpg) on your demo website (0.22.1) 2 minutes ago. It shows in April.

memos_filedateissue

@Issues-translate-bot
Copy link

Issue is not in English. It has been translated automatically.


See screenshot. I uploaded a image (download.jpg) on your demo website (0.22.1) 2 minutes ago. It shows in April.

memos_filedateissue

@boojack
Copy link
Collaborator

boojack commented May 21, 2024

It works right on my side. So it's probably related to the time zone of your browser/OS.

image

@tigerzioo
Copy link
Author

I am using the US Central time. It is very strange it has 1 month offset. I can understand if there is one day offset. I am wondering if there is a way for fix it. The logic to calculate the month might be able to be adjusted.
Thank you.

@dwong33
Copy link
Contributor

dwong33 commented May 22, 2024

It has been a long term issue, related to the timezone configuration, for those who are located in North America, it will result in such a weird 1 month offset.

@github-actions github-actions bot added the Stale label Jun 6, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 13, 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

4 participants