User:Reiazur/testing.js

// Copyright 2012 Reiazur. // Since there's little JavaScript in here, I'd assume that I will make more // JavaScript later on (UTC +08:00)

// ***************************************************** // ***************************************************** // * JavaScript time zone viewer                     ** // * Copyright (C) 2012 Reiazur                      ** // ***************************************************** // ***************************************************** // // What it does: // Sees the user's time zone beside the username. // Output Example: // USERNAME - Time Zone

function getTimeZone { if(use wiki time) { text: { 'This user is using the wiki time zone ( { time zone } )' } if(other) { text: { 'This user uses other (especially offset) time zone { time zone }'  } if(from browser) { text: { 'This user is using the time zone from its browser ( { time zone } )' } if(time zone) { text: { 'This user is in the { time zone }' } // End of JavaScript