dateWithWIBTimeZone

by default will return a string of date in GMT, offset with WIB timezone.

required argument: date, can be a string or number (Unix timestamp)

optional arguments: offset: string (e.g. "+14"), dateStyle and timeStyle both take the value of "medium" (default), "full", "long", or "short"

usage:

import { offsetDate } from "https://esm.town/v/foliage/dateWithWIBTimeZone/main.ts"; const dateInGMT = offsetDate(dateInMyTown);