Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
![]() | This user script seems to have a documentation page at User:Bility/convert24hourtime. |
if (mw.config.get('wgAction')=='history' || mw.config.get('wgCanonicalSpecialPageName')=='Contributions') {$(document).ready(function() {if (mw.config.get('wgAction')=='history') {$('span.mw-history-histlinks ~ a').each(function() {convertTo12HourTime($(this));});} else {$('ul').first().children().each(function() {convertTo12HourTime($(this).children().first());});};});}; function convertTo12HourTime(timeElement) {var hour = parseFloat(timeElement.html().substr(0,2));if (hour<12) {hour = (hour==0) ? 12 : hour;timeElement.html(hour + timeElement.html().substr(2,3) + ' am' + timeElement.html().substr(5));} else {hour = (hour!=12) ? hour-12 : hour;timeElement.html(hour + timeElement.html().substr(2,3) + ' pm' + timeElement.html().substr(5));};if (hour<10) {timeElement.html(unescape('%A0%A0')+timeElement.html());};};
đ„ Top keywords: Akademia e Shkencave e RPS te ShqiperiseAlexandria Ocasio-CortezBilderberg GroupCristiano RonaldoDong XiaowanMinecraftOperation GladioPrimal cutRiot FestStrictly Come Dancing (series 7)Main PageKeir Starmer2024 United Kingdom general electionSpecial:SearchRishi SunakWikipedia:Featured picturesVictoria StarmerProject 2025Labour Party (UK)2019 United Kingdom general electionKalki 2898 ADPrime Minister of the United KingdomUEFA Euro 2024List of recurring characters in the James Bond film seriesLiz TrussNigel FaragePepe (footballer, born 1983)Cristiano Ronaldo1997 United Kingdom general electionAngela RaynerRachel ReevesList of prime ministers of the United Kingdom2017 United Kingdom general electionUEFA European ChampionshipJeremy CorbynReform UKLamine YamalConservative Party (UK).xxxBoris JohnsonEmma RaducanuCleopatra2015 United Kingdom general electionFrances TiafoeKylian MbappĂ©Liberal Democrats (UK)2024 Copa AmĂ©rica2010 United Kingdom general electionJacob Rees-Mogg