Closed tigerzioo closed 5 months ago
Issue is not in English. It has been translated automatically.
Title: The file upload month displayed in the resource library is incorrect.
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.
See screenshot. I uploaded an image (download.jpg) on your demo website (0.22.1) 2 minutes ago. It shows in April.
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.
It works right on my side. So it's probably related to the time zone of your browser/OS.
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.
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.
Let me provide more information on how to replicate this bug. If we choose the timezone of a computer to be Shanghai or Hong Kong, it will show the correct month - July. If we choose another timezone, say New York or Toronto, and refresh the page, it will show the wrong month - June.
Describe the bug
资源库里显示的文件上传的月份不对,有一个月的误差。四月上传的会显示在三月,现在上传一个图片,还是显示在四月。
Steps to reproduce
上传文件,点击资源库,刚上传的文件显示在4月里。
The version of Memos you're using
21.0 和 22.0 都有这个问题,估计以前的也有
Screenshots or additional context
No response