This chrome extension replaces instances of "Friendly dates" on GitHub with a unified date format, which displays both the precise time and the calculated time.
As of this initial version it is possible to choose between three date/time styles: Short, Medium, Long. It's also possible to toggle between the AM/PM (12-hour) and 24-hour formats. These styles utilise the stringified version of the JavaScript built-in Date object's -> toLocaleString().
Lastly the friendly date (time ago) format, which is appended to the date, can be toggled on/off.
In a terminal:
- Clone this repository
- Run
npm run build
- If that fails try running
npm run build
In Chrome:
- Go to chrome://extensions/
- Enable Developer mode (top right corner)
- Click
Load unpacked
- Choose the
/build
folder, resulting fromnpm run build