Skip to content

Commit

Permalink
chore: code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
RomRider committed Feb 10, 2021
1 parent a159fd6 commit d95ac7a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/graphEntry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,7 @@ export default class GraphEntry {
this._entityID = config.entity;
this._graphSpan = graphSpan;
this._config = config;
const now = new Date();
const now2 = new Date(now);
this._func = aggregateFuncMap[config.group_by.func];
now2.setTime(now2.getTime() - HOUR_24);
this._realEnd = new Date();
this._realStart = new Date();
// Valid because tested during init;
Expand Down

0 comments on commit d95ac7a

Please sign in to comment.