This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch 2.1
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/2.1 by this push:
     new 2f4a168d36 Format javascript
2f4a168d36 is described below

commit 2f4a168d360cf7897a7aa584c0abfc2a69af982d
Author: Christopher Tubbs <[email protected]>
AuthorDate: Wed Nov 2 17:55:55 2022 -0400

    Format javascript
    
    Format the javascript changed in #3056
---
 .../resources/org/apache/accumulo/monitor/resources/js/functions.js  | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/functions.js
 
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/functions.js
index 43a20b7abe..af0363a67d 100644
--- 
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/functions.js
+++ 
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/functions.js
@@ -134,7 +134,10 @@ function bigNumberForQuantity(quantity) {
  */
 function dateFormat(timestamp) {
   var date = new Date(timestamp);
-  return date.toLocaleString([], {timeStyle: 'long', dateStyle: 'medium' })
+  return date.toLocaleString([], {
+      timeStyle: 'long',
+      dateStyle: 'medium'
+    })
     .split(' ').join('&nbsp;');
 }
 

Reply via email to