docs-v2/content/flux/v0/stdlib/timezone/_index.md

1.4 KiB

title description menu weight cascade
timezone package The `timezone` package defines functions for setting timezones on the location option in package universe.
flux_v0_ref
name parent identifier
timezone stdlib timezone
11
introduced
0.134.0

The timezone package defines functions for setting timezones on the location option in package universe. Import the timezone package:

import "timezone"

Constants

timezone.utc = {zone: "UTC", offset: 0h}
  • timezone.utc is the default location with a completely linear clock and no offset. It is used as the default for location-related options.

Functions

{{< children type="functions" show="pages" >}}