Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox screenshots are saved with wrong time

  • 4 回覆
  • 1 有這個問題
  • 4 次檢視
  • 最近回覆由 feklee

more options

Screenshots made from the Developer Tools are saved with the time taken embedded into the file name. On my machine that time is in the time zone UTC+08, where I was a month ago. However, my Windows 10 machine is in time zone UTC-05, where I am now. The correct time is reported when I run in the JavaScript console:

Date()

How is it possible that time zone for the screenshots file names is still wrong? How can I fix that?

Screenshots made from the Developer Tools are saved with the time taken embedded into the file name. On my machine that time is in the time zone UTC+08, where I was a month ago. However, my Windows 10 machine is in time zone UTC-05, where I am now. The correct time is reported when I run in the JavaScript console: '''Date()''' ''How is it possible that time zone for the screenshots file names is still wrong? How can I fix that?''

被選擇的解決方法

OK, this is a known bug and fixed for Firefox 89.

  • 1701461 - Screenshot filename uses wrong day number (day# + 1 instead of day#) [89]

(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
)

從原來的回覆中察看解決方案 👍 0

所有回覆 (4)

more options

I think the time string comes from this code:

Does this also happen with a screenshot via "Take a Screenshot" ?

more options

cor-el said

I think the time string comes from this code: Does this also happen with a screenshot via "Take a Screenshot" ?

No, and I gave wrong information. It's not the wrong time zone. It's simply that the day is plus one:

136K May 23 17:21 Screen Shot 2021-05-24 at 17.21.57-fullpage.png 136K May 23 17:23 Screenshot_2021-05-23 MDN Web Docs.png

The first one was taken from the Developer Tools, the second one using the popup menu.

more options

選擇的解決方法

OK, this is a known bug and fixed for Firefox 89.

  • 1701461 - Screenshot filename uses wrong day number (day# + 1 instead of day#) [89]

(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
)

more options

Will wait then for the update, thanks for finding that out!