Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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