Skip to content

Commit

Permalink
usage example fix
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-spengler committed Nov 6, 2021
1 parent d8625a7 commit 7dc9328
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions usage-example.ts
Original file line number Diff line number Diff line change
@@ -4,11 +4,6 @@ import { TimeService } from "https://deno.land/x/time/mod.ts"
const countryCode = "DE";
const cityName = "Heidelberg";

const time = await TimeService.getTimeByCountryAndCity(countryCode, cityName)
log.info(`In ${cityName} (${countryCode}) it is ${time} o'Clock :)`)

const timeZone = await TimeService.getTimeZone(countryCode, cityName)
log.info(`The timezone of ${cityName} (${countryCode}) is ${timeZone}`)

const timeByTimeZone = await TimeService.getTimeByTimeZone(timeZone)
log.info(`In ${timeZone} it is ${timeByTimeZone} o'Clock :)`)

0 comments on commit 7dc9328

Please sign in to comment.