forked from External/greenlight
		
	localize recording dates
This commit is contained in:
		| @@ -186,7 +186,8 @@ | ||||
|         data.recordings[i].duration = totalMinutes; | ||||
|  | ||||
|         data.recordings[i].start_time = new Date(data.recordings[i].start_time) | ||||
|           .toLocaleString([], {month: 'long', day: 'numeric', year: 'numeric', hour12: 'true', hour: '2-digit', minute: '2-digit'}); | ||||
|           .toLocaleString($('html').attr('lang'), | ||||
|             {month: 'long', day: 'numeric', year: 'numeric', hour12: 'true', hour: '2-digit', minute: '2-digit'}); | ||||
|       } | ||||
|       table.clear(); | ||||
|       table.rows.add(data.recordings); | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| <!DOCTYPE html> | ||||
| <html> | ||||
| <html lang="<%= I18n.locale %>"> | ||||
|   <head> | ||||
|     <title>Greenlight</title> | ||||
|     <%= csrf_meta_tags %> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user