User:Gestrid/convert24hourtime
Jump to navigation
Jump to search
- Code for this script resides at User:Gestrid/convert24hourtime.js
This script converts timestamps in history pages and user contribution pages from 24-hour clock to 12-hour clock with am/pm. For example:
- 02:43 → 2:43 am
- 17:32 → 5:32 pm
Installation
To install this script, edit your skin javascript or common.js and add the following code:
importScript('User:Bility/convert24hourtime.js');
Attribution
This script originally came from a user on Wikipedia here and is available under the Creative Commons Attribution-ShareAlike 3.0 Unported License. See this page for details on how to legally reuse this content.