primeui-all.js
function (timeFormat) {
				var finds = timeFormat.toLowerCase().match(/(h{1,2}|m{1,2}|s{1,2}|l{1}|c{1}|t{1,2}|z|'.*?')/g),
					orders = {
						h: -1,
						m: -1,
						s: -1,
						l: -1,
						c: -1,
						t: -1,
						z: -1
					};

				if (finds) {
					for (var i = 0; i < finds.length; i++) {
						if (orders[finds[i].toString().charAt(0)] === -1) {
							orders[finds[i].toString().charAt(0)] = i + 1;
						}
					}
				}
				return orders;
			}
function (timeFormat) {
				var finds = timeFormat.toLowerCase().match(/(h{1,2}|m{1,2}|s{1,2}|l{1}|c{1}|t{1,2}|z|'.*?')/g),
					orders = {
						h: -1,
						m: -1,
						s: -1,
						l: -1,
						c: -1,
						t: -1,
						z: -1
					};

				if (finds) {
					for (var i = 0; i < finds.length; i++) {
						if (orders[finds[i].toString().charAt(0)] === -1) {
							orders[finds[i].toString().charAt(0)] = i + 1;
						}
					}
				}
				return orders;
			}
function ( timeFormat ) { var finds = timeFormat . toLowerCase ( ) . match ( / (h{1,2}|m{1,2}|s{1,2}|l{1}|c{1}|t{1,2}|z|'.*?') / g ) , orders = { h : - 1 , m : - 1 , s : - 1 , l : - 1 , c : - 1 , t : - 1 , z : - 1 } ; if ( finds ) { for ( var i = 0 ; i < finds . length ; i ++ ) { if ( orders [ finds [ i ] . toString ( ) . charAt ( 0 ) ] === - 1 ) { orders [ finds [ i ] . toString ( ) . charAt ( 0 ) ] = i + 1 ; } } } return orders ; }
figure out position of time elements.. cause js cant do named captures
figure out position of time elements .. cause js cant do named captures