web-wiki/resources/mediawiki/mediawiki.js
/**
			 * Generates an ISO8601 "basic" string from a UNIX timestamp
			 */
Generates an ISO8601 "basic" string from a UNIX timestamp
Generates an ISO8601 " basic " string from a UNIX timestamp
function formatVersionNumber( timestamp ) {
				var	pad = function ( a, b, c ) {
						return [a < 10 ? '0' + a : a, b < 10 ? '0' + b : b, c < 10 ? '0' + c : c].join( '' );
					},
					d = new Date();
				d.setTime( timestamp * 1000 );
				return [
					pad( d.getUTCFullYear(), d.getUTCMonth() + 1, d.getUTCDate() ), 'T',
					pad( d.getUTCHours(), d.getUTCMinutes(), d.getUTCSeconds() ), 'Z'
				].join( '' );
			}
function formatVersionNumber ( timestamp ) { var pad = function ( a , b , c ) { return [ a < 10 ? '0' + a : a , b < 10 ? '0' + b : b , c < 10 ? '0' + c : c ] . join ( '' ) ; } , d = new Date ( ) ; d . setTime ( timestamp * 1000 ) ; return [ pad ( d . getUTCFullYear ( ) , d . getUTCMonth ( ) + 1 , d . getUTCDate ( ) ) , 'T' , pad ( d . getUTCHours ( ) , d . getUTCMinutes ( ) , d . getUTCSeconds ( ) ) , 'Z' ] . join ( '' ) ; }
Generates an ISO8601 "basic" string from a UNIX timestamp
Generates an ISO8601 " basic " string from a UNIX timestamp