--- name: Set a time zone in Bun --- Bun supports programmatically setting a default time zone for the lifetime of the `bun` process. To do set, set the value of the `TZ` environment variable to a [valid timezone identifier](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). {% callout %} When running a file with `bun`, the timezone defaults to your system's configured local time zone. When running tests with `bun test`, the timezone is set to `UTC` to make tests more deterministic. {% /callout %} ```ts process.env.TZ = "America/New_York"; ``` --- Alternatively, this can be set from the command line when running a Bun command. ```sh $ TZ=America/New_York bun run dev ``` --- Once `TZ` is set, any `Date` instances will have that time zone. By default all dates use your system's configured time zone. ```ts new Date().getHours(); // => 18 process.env.TZ = "America/New_York"; new Date().getHours(); // => 21 ``` .0'>dependabot/github_actions/aquasecurity/trivy-action-0.22.0 Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/core/dnsserver/server_https.go (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2023-07-31build(deps): bump google.golang.org/grpc from 1.56.2 to 1.57.0 (#6234)Gravatar dependabot[bot] 2-3/+3
2023-07-31update outdated blog links (#6231)Gravatar Yuheng 2-3/+3
2023-07-31build(deps): bump google.golang.org/api from 0.132.0 to 0.134.0 (#6233)Gravatar dependabot[bot] 2-6/+6
2023-07-31build(deps): bump github.com/aws/aws-sdk-go from 1.44.300 to 1.44.312 (#6232)Gravatar dependabot[bot] 2-3/+3
2023-07-30implement Name function on secondary plugin (#6230)Gravatar Diogenes Pelisson 1-0/+3
2023-07-24build(deps): bump k8s.io/client-go from 0.27.3 to 0.27.4 (#6221)Gravatar dependabot[bot] 2-3/+3
2023-07-24build(deps): bump google.golang.org/api from 0.131.0 to 0.132.0 (#6220)Gravatar dependabot[bot] 2-12/+12
2023-07-24build(deps): bump k8s.io/api from 0.27.3 to 0.27.4 (#6222)Gravatar dependabot[bot] 2-7/+7
2023-07-24build(deps): bump github.com/antonmedv/expr from 1.12.6 to 1.12.7 (#6218)Gravatar dependabot[bot] 2-3/+3
2023-07-17build(deps): bump github.com/aws/aws-sdk-go from 1.44.294 to 1.44.300 (#6209)Gravatar dependabot[bot] 2-3/+3
2023-07-17build(deps): bump github.com/prometheus/client_golang (#6205)Gravatar dependabot[bot] 2-6/+6
2023-07-17build(deps): bump github.com/antonmedv/expr from 1.12.5 to 1.12.6 (#6208)Gravatar dependabot[bot] 2-3/+3
2023-07-17build(deps): bump google.golang.org/api from 0.130.0 to 0.131.0 (#6207)Gravatar dependabot[bot] 2-24/+24
2023-07-121.11.0 release prep (#6135)Gravatar Chris O'Haver 2-1/+56