User:Gary/comments in local time.js: Difference between revisions

Content deleted Content added
Fix a bug that occurs on edit pages that don't have previews, such as protected images.
Try this fix for no leading zeros on the time
Line 107:
else topContainer = false;
if (topContainer && topContainer.length) replaceText(topContainer, /(\d\d{1,2}):(\d\d{2}), (\d{1,2}) ([A-Z][a-z]+) (\d{4}) \(UTC\)/);
}