microformat-shiv.js
function() {
			switch( this.format.toLowerCase() ) {
				case 'microformat2':
					this.sep = ' ';
					this.dsep = '-';
					this.tsep = ':';
					this.tzsep = '';
					this.tzZulu = 'Z';
					break;
				case 'rfc3339':
					this.sep = 'T';
					this.dsep = '';
					this.tsep = '';
					this.tzsep = '';
					this.tzZulu = 'Z';
					break;
				case 'w3c':
					this.sep = 'T';
					this.dsep = '-';
					this.tsep = ':';
					this.tzsep = ':';
					this.tzZulu = 'Z';
					break;
				case 'html5':
					this.sep = ' ';
					this.dsep = '-';
					this.tsep = ':';
					this.tzsep = ':';
					this.tzZulu = 'Z';
					break;
				default:
					// auto - defined by format of input string
					this.sep = this.autoProfile.sep;
					this.dsep = this.autoProfile.dsep;
					this.tsep = this.autoProfile.tsep;
					this.tzsep = this.autoProfile.tzsep;
					this.tzZulu = this.autoProfile.tzZulu;
			}
		}
function() {
			switch( this.format.toLowerCase() ) {
				case 'microformat2':
					this.sep = ' ';
					this.dsep = '-';
					this.tsep = ':';
					this.tzsep = '';
					this.tzZulu = 'Z';
					break;
				case 'rfc3339':
					this.sep = 'T';
					this.dsep = '';
					this.tsep = '';
					this.tzsep = '';
					this.tzZulu = 'Z';
					break;
				case 'w3c':
					this.sep = 'T';
					this.dsep = '-';
					this.tsep = ':';
					this.tzsep = ':';
					this.tzZulu = 'Z';
					break;
				case 'html5':
					this.sep = ' ';
					this.dsep = '-';
					this.tsep = ':';
					this.tzsep = ':';
					this.tzZulu = 'Z';
					break;
				default:
					// auto - defined by format of input string
					this.sep = this.autoProfile.sep;
					this.dsep = this.autoProfile.dsep;
					this.tsep = this.autoProfile.tsep;
					this.tzsep = this.autoProfile.tzsep;
					this.tzZulu = this.autoProfile.tzZulu;
			}
		}
function ( ) { switch ( this . format . toLowerCase ( ) ) { case 'microformat2' : this . sep = ' ' ; this . dsep = '-' ; this . tsep = ':' ; this . tzsep = '' ; this . tzZulu = 'Z' ; break ; case 'rfc3339' : this . sep = 'T' ; this . dsep = '' ; this . tsep = '' ; this . tzsep = '' ; this . tzZulu = 'Z' ; break ; case 'w3c' : this . sep = 'T' ; this . dsep = '-' ; this . tsep = ':' ; this . tzsep = ':' ; this . tzZulu = 'Z' ; break ; case 'html5' : this . sep = ' ' ; this . dsep = '-' ; this . tsep = ':' ; this . tzsep = ':' ; this . tzZulu = 'Z' ; break ; default : // auto - defined by format of input string this . sep = this . autoProfile . sep ; this . dsep = this . autoProfile . dsep ; this . tsep = this . autoProfile . tsep ; this . tzsep = this . autoProfile . tzsep ; this . tzZulu = this . autoProfile . tzZulu ; } }
set the current profile to W3C Note, RFC 3339, HTML5, or auto profile
set the current profile to W3C Note RFC 3339 HTML5 or auto profile