Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

搜尋 Mozilla 技術支援網站

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

了解更多

toLocaleString outputs different in FF Developer

  • 2 回覆
  • 2 有這個問題
  • 23 次檢視
  • 最近回覆由 Brahma Dev

more options

new Date(1743623960000).toLocaleString(['en-ES'])

outputs "4/2/2025, 7:59:20 PM" in normal firefox and "2/4/2025, 7:59:20 PM" in Firefox Developer. Test on MacOS and Ubuntu.

new Date(1743623960000).toLocaleString(['en-ES']) outputs "4/2/2025, 7:59:20 PM" in normal firefox and "2/4/2025, 7:59:20 PM" in Firefox Developer. Test on MacOS and Ubuntu.

由 Brahma Dev 於 修改

所有回覆 (2)

more options

I don't think we understand 'en-ES'. It should be 'en-US' or 'es-ES'.

more options

Thanks. Is there some web page where such different behaviours between Firefox Developer and Firefox is maintained ?