Skip to content

Commit 4ba63dc

Browse files
author
Michael Spengler
committed
boy scout rule
1 parent f3879bf commit 4ba63dc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

time-service.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { Persistence } from "https://deno.land/x/persistence@1.1.0/persistence.ts"
2-
// import { Time, timezone } from "./helper.ts";
32
import * as log from "https://deno.land/std/log/mod.ts";
43

54
export class TimeService {
@@ -11,7 +10,7 @@ export class TimeService {
1110
let getDifferenceToUtcInMilisec = minutes * 60000;
1211
let getUTCMilisecond = new Date().getTime();
1312

14-
const result = new Date(getUTCMilisecond - getDifferenceToUtcInMilisec).toISOString() //returns date based on server time
13+
const result = new Date(getUTCMilisecond - getDifferenceToUtcInMilisec).toISOString()
1514

1615

1716
return result.substr(11, 8)

0 commit comments

Comments
 (0)