vendor/assets/elfinder_OLD/js/elfinder.full.js
function(file, t) {
		var self = this, 
			ts   = t || file.ts, 
			i18  = self.i18,
			date, format, output, d, dw, m, y, h, g, i, s;

		if (self.options.clientFormatDate && ts > 0) {

			date = new Date(ts*1000);
			format = ts >= this.yesterday 
				? this.fancyFormat 
				: this.dateFormat;

			output = self.date(format, date);
			
			return ts >= this.yesterday
				? output.replace('$1', this.i18n(ts >= this.today ? 'Today' : 'Yesterday'))
				: output;
		} else if (file.date) {
			return file.date.replace(/([a-z]+)\s/i, function(a1, a2) { return self.i18n(a2)+' '; });
		}
		
		return self.i18n('dateUnknown');
	}
function(file, t) {
		var self = this, 
			ts   = t || file.ts, 
			i18  = self.i18,
			date, format, output, d, dw, m, y, h, g, i, s;

		if (self.options.clientFormatDate && ts > 0) {

			date = new Date(ts*1000);
			format = ts >= this.yesterday 
				? this.fancyFormat 
				: this.dateFormat;

			output = self.date(format, date);
			
			return ts >= this.yesterday
				? output.replace('$1', this.i18n(ts >= this.today ? 'Today' : 'Yesterday'))
				: output;
		} else if (file.date) {
			return file.date.replace(/([a-z]+)\s/i, function(a1, a2) { return self.i18n(a2)+' '; });
		}
		
		return self.i18n('dateUnknown');
	}
function ( file , t ) { var self = this , ts = t || file . ts , i18 = self . i18 , date , format , output , d , dw , m , y , h , g , i , s ; if ( self . options . clientFormatDate && ts > 0 ) { date = new Date ( ts * 1000 ) ; format = ts >= this . yesterday ? this . fancyFormat : this . dateFormat ; output = self . date ( format , date ) ; return ts >= this . yesterday ? output . replace ( '$1' , this . i18n ( ts >= this . today ? 'Today' : 'Yesterday' ) ) : output ; } else if ( file . date ) { return file . date . replace ( / ([a-z]+)\s / i , function ( a1 , a2 ) { return self . i18n ( a2 ) + ' ' ; } ) ; } return self . i18n ( 'dateUnknown' ) ; }
Return localized date

@param  Object  file object
@return String
Return localized date