We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3879bf commit 4ba63dcCopy full SHA for 4ba63dc
time-service.ts
@@ -1,5 +1,4 @@
1
import { Persistence } from "https://deno.land/x/persistence@1.1.0/persistence.ts"
2
-// import { Time, timezone } from "./helper.ts";
3
import * as log from "https://deno.land/std/log/mod.ts";
4
5
export class TimeService {
@@ -11,7 +10,7 @@ export class TimeService {
11
10
let getDifferenceToUtcInMilisec = minutes * 60000;
12
let getUTCMilisecond = new Date().getTime();
13
14
- const result = new Date(getUTCMilisecond - getDifferenceToUtcInMilisec).toISOString() //returns date based on server time
+ const result = new Date(getUTCMilisecond - getDifferenceToUtcInMilisec).toISOString()
15
16
17
return result.substr(11, 8)
0 commit comments