Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fresh/tests/deps.ts>Page#emulateTimezone

The next-gen web framework.
Extremely Popular
Go to Latest
method Page.prototype.emulateTimezone
Re-export
import { Page } from "https://deno.land/x/fresh@1.5.1/tests/deps.ts";

Parameters

optional
timezoneId: string
  • Changes the timezone of the page. See ICU’s metaZones.txt for a list of supported timezone IDs. Passing null disables timezone emulation.

Returns

Promise<void>