mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
dates
This commit is contained in:
@@ -60,7 +60,7 @@ export class ClientStatisticsService {
|
|||||||
|
|
||||||
|
|
||||||
return result.map(res => {
|
return result.map(res => {
|
||||||
res.label = new Date(res).toISOString();
|
res.label = new Date(res.label).toISOString();
|
||||||
return res;
|
return res;
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -112,7 +112,7 @@ export class ClientStatisticsService {
|
|||||||
const result = await this.clientStatisticsRepository.query(query, [address]);
|
const result = await this.clientStatisticsRepository.query(query, [address]);
|
||||||
|
|
||||||
return result.map(res => {
|
return result.map(res => {
|
||||||
res.label = new Date(res).toISOString();
|
res.label = new Date(res.label).toISOString();
|
||||||
return res;
|
return res;
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -165,7 +165,7 @@ export class ClientStatisticsService {
|
|||||||
const result = await this.clientStatisticsRepository.query(query, [address, clientName]);
|
const result = await this.clientStatisticsRepository.query(query, [address, clientName]);
|
||||||
|
|
||||||
return result.map(res => {
|
return result.map(res => {
|
||||||
res.label = new Date(res).toISOString();
|
res.label = new Date(res.label).toISOString();
|
||||||
return res;
|
return res;
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -219,7 +219,7 @@ export class ClientStatisticsService {
|
|||||||
const result = await this.clientStatisticsRepository.query(query, [address, clientName, sessionId]);
|
const result = await this.clientStatisticsRepository.query(query, [address, clientName, sessionId]);
|
||||||
|
|
||||||
return result.map(res => {
|
return result.map(res => {
|
||||||
res.label = new Date(res).toISOString();
|
res.label = new Date(res.label).toISOString();
|
||||||
return res;
|
return res;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user