fleetmap-reports 1.0.382 → 1.0.383

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetmap-reports",
3
- "version": "1.0.382",
3
+ "version": "1.0.383",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -471,7 +471,7 @@ function exportSpeedingReportToExcel(userData, reportData) {
471
471
  distance: a.distance && new Intl.NumberFormat(lang, {maximumSignificantDigits: 1}).format(a.distance),
472
472
  maxSpeed: a.attributes.maxSpeed ? Math.round(a.attributes.maxSpeed * 1.85200) : Math.round(a.attributes.speed * 1.85200),
473
473
  duration: convertMS(a.eventTime, true),
474
- fixTime: new Date(a.position.fixTime).toLocaleString(),
474
+ fixTime: getAlertDate(a, userData.user),
475
475
  name: userData.byDriver ? a.deviceName : d.device.name,
476
476
  address: a.position.address + (a.geofenceName ? ' - ' + a.geofenceName : ''),
477
477
  roadSpeedLimit: a.roadSpeedLimit