date format on this support site
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
Todas as respostas (2)
Something like this is discussed in https://support.mozilla.org/en-US/forums/contributors
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:
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString
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}}})()
Alterado por cor-el em