mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 04:12:45 +00:00 
			
		
		
		
	Fix date formatting for end-date display
This commit is contained in:
		@@ -79,7 +79,7 @@
 | 
				
			|||||||
      if (timestamp === null) {
 | 
					      if (timestamp === null) {
 | 
				
			||||||
        end_date = "N.a.";
 | 
					        end_date = "N.a.";
 | 
				
			||||||
      } else {
 | 
					      } else {
 | 
				
			||||||
        end_date = new Date(timestamp * 1000).toLocaleString();
 | 
					        end_date = new Date(timestamp * 1000).toLocaleString("en-US");
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      document.getElementById("end-date").value = end_date;
 | 
					      document.getElementById("end-date").value = end_date;
 | 
				
			||||||
      M.updateTextFields();
 | 
					      M.updateTextFields();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user