Content deleted Content added
No edit summary |
No edit summary Tags: Mobile edit Mobile web edit |
||
Line 5:
* <code><nowiki>importScript("User:Guywan/Scripts/12HourFormat.js"); // Backling: [[User:Guywan/Scripts/12HoursFormat.js]]</nowiki></code>
*
* This script was originally authored by User:Bility, [[User:Bility/convert24hourtime.js]]
*
* I have mainly streamlined the code and introduced more functionality.
*/
Line 58:
var time = text.substr(index - 2, 6);
// Will convert anything in the table matching the pattern "
if(time.match(/\d\d:\d\d,/))
{
|