@corpsmap/corpsmap 3.2.28 → 3.2.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/dev.js +52 -5723
- package/lib/prod.js +52 -5723
- package/package.json +1 -1
- package/src/core-plugins/change-log/bundle.js +4 -4
- package/src/core-plugins/change-log/change-log-modal.js +3 -3
package/package.json
CHANGED
|
@@ -17,8 +17,8 @@ const testData = [
|
|
|
17
17
|
"district_code": "MVD",
|
|
18
18
|
"change_type": "Data Change",
|
|
19
19
|
"description": "Update locations for project at Pyote AAF Ground Gunnery Range (K06TX0146)\r\n\r\nOLD COORDINATES:\r\nBombing Range (01) 31.5575 -102.879444\r\nGround Gunnery Range (02) 31.585556 -102.898056\r\nSkeet Range (03) 31.553056 -102.875278\r\n\r\nNEW COORDINATES:\r\nBOMBING RANGE (01) 31.501163 -103.137657\r\nGROUND GUNNERY RANGE (02) 31.586237 -103.101082\r\nSKEET RANGE (03) 31.553096 -103.124618",
|
|
20
|
-
"create_date": "2023-
|
|
21
|
-
"change_date": "2023-
|
|
20
|
+
"create_date": "2023-07-23T15:41:24Z",
|
|
21
|
+
"change_date": "2023-07-23T15:41:24Z"
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
"id": 4715,
|
|
@@ -26,8 +26,8 @@ const testData = [
|
|
|
26
26
|
"district_code": "MVQ",
|
|
27
27
|
"change_type": "Data Change",
|
|
28
28
|
"description": "Update locations for project at Pyote AAF Ground Gunnery Range (K06TX0146)\r\n\r\nOLD COORDINATES:\r\nBombing Range (01) 31.5575 -102.879444\r\nGround Gunnery Range (02) 31.585556 -102.898056\r\nSkeet Range (03) 31.553056 -102.875278\r\n\r\nNEW COORDINATES:\r\nBOMBING RANGE (01) 31.501163 -103.137657\r\nGROUND GUNNERY RANGE (02) 31.586237 -103.101082\r\nSKEET RANGE (03) 31.553096 -103.124618",
|
|
29
|
-
"create_date": "2023-
|
|
30
|
-
"change_date": "2023-
|
|
29
|
+
"create_date": "2023-07-13T15:41:24Z",
|
|
30
|
+
"change_date": "2023-07-13T15:41:24Z"
|
|
31
31
|
},
|
|
32
32
|
];
|
|
33
33
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { connect } from "redux-bundler-react";
|
|
3
|
-
import moment from 'moment';
|
|
4
3
|
|
|
5
4
|
class ChangeLogModal extends React.Component {
|
|
6
5
|
constructor(props) {
|
|
@@ -16,8 +15,9 @@ class ChangeLogModal extends React.Component {
|
|
|
16
15
|
}
|
|
17
16
|
|
|
18
17
|
formatDate(oldDate){
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
let newDate = new Date(oldDate);
|
|
19
|
+
newDate = newDate.toLocaleString('default', { month: 'long', day: 'numeric', year: 'numeric'});
|
|
20
|
+
return newDate
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
render() {
|