![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
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
All Replies (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}}})()
Ti ṣàtúnṣe