User:JFletcher/common.js: Difference between revisions

Formatting for CommentsInLocalTime
(Oops, left in my test version)
(Formatting for CommentsInLocalTime)
 
Line 10: Line 10:
if(mobile && !mobileurl)
if(mobile && !mobileurl)
window.location = (complexurl)? mobileurlcomplex : mobileurlsimple;
window.location = (complexurl)? mobileurlcomplex : mobileurlsimple;
// Formatting for CommentsInLocalTime, installed from the 'Gadgets' tab in [[Special:Preferences]]
LocalComments = {
        dateDifference: true,
        dateFormat: 'dmy',
        timeFirst: true,
        twentyFourHours: false,
        dayOfWeek: true,
        dropDays: 31,
        dropMonths: 12
};