搜尋 Mozilla 技術支援網站

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

了解更多

date format on this support site

  • 2 回覆
  • 1 有這個問題
  • 11 次檢視
  • 最近回覆由 cor-el

more options

Any chance of changing the date format used on this support site from the (benighted) US format m/dd/yy to something less ambiguous please (you will know that Europe uses dd/mm/yy(yy) which leaves a lot of room for error eg for 1/2/2015 are we discussing the 1st of feb or the second of Jan) Lots of sane choices are possible Thanks

Any chance of changing the date format used on this support site from the (benighted) US format m/dd/yy to something less ambiguous please (you will know that Europe uses dd/mm/yy(yy) which leaves a lot of room for error eg for 1/2/2015 are we discussing the 1st of feb or the second of Jan) Lots of sane choices are possible Thanks

所有回覆 (2)

more options

Something like this is discussed in https://support.mozilla.org/en-US/forums/contributors

more options

See also:

This forum uses a datetime attribute that makes it possible to style the date and time any way you want. A possible bookmarklet:

javascript:(function(){var d=document,e=d.querySelectorAll('time[datetime]'),A,D,E,T,i;for(i=0;E=e[i];i++){D=new Date(E.getAttribute('datetime'));T=D.toLocaleString("en-GB");if(!/invalid/i.test(T)){E.innerHTML=T}}})()

See also:

javascript:(function(){var d=document,e=d.querySelectorAll('time[datetime]'),A,D,E,T,i;for(i=0;E=e[i];i++){D=new Date(E.getAttribute('datetime'));T=D.toLocaleString("en-GB",{weekday:"short",day:"numeric",month:"short",year:"numeric",hour12:false,hour:"numeric",minute:"numeric",second:"numeric"});if(!/invalid/i.test(T)){E.innerHTML=T}}})()

由 cor-el 於 修改