Skip to content

Commit 6e8efb2

Browse files
committed
UI - fix naming in admin
1 parent 85aea4d commit 6e8efb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/client/src/pages/Admin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class Admin extends Component {
152152
const fileName = file.split("-")[0];
153153
let fileDate = file.split("-").slice(1).join().split(".")[0];
154154
let fileDateOnlyNumbers = fileDate.replaceAll(",", "");
155-
let fileDateFormatted = moment(fileDateOnlyNumbers, "YYYYMMDDhmmss").format("MMMM Do YYYY, h:mm:ss a");
155+
let fileDateFormatted = moment(fileDateOnlyNumbers, "YYYYMMDDhmmss").local().format("MMMM Do YYYY, h:mm:ss a");
156156

157157
return (
158158
<TableRow>
@@ -178,7 +178,7 @@ class Admin extends Component {
178178
</Grid>
179179

180180
<Grid item sm={6}>
181-
<h2> Data Analysis </h2>
181+
<h2> Last Match Analysis </h2>
182182
{_.isEmpty(this.state.statistics) !== true &&
183183
<TableContainer component={Paper} className="statisticsData">
184184
<Table aria-label="simple table" className={classes.table}>

0 commit comments

Comments
 (0)