User:Mxn/CommentsInLocalTime/sandbox.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 221:
if (monthIndex !== -1) {
then = new Date(Date.UTC(components.year, components.monthIndex, components.day, components.hours, components.minutes));
if (!then.isValidisNaN(then)) {
// Many Wikipedias started out with English as the default
// localization, so fall back to English.
Line 236:
// [[User talk:Mxn/CommentsInLocalTime.js#Interface-protected edit request on 18 November 2022]]
var timeElt = $("<time />");
if (then.isValidisNaN(then)) {
then.utcOffset(-LocalComments.utcOffset);
// MediaWiki core styles .explain[title] the same way as