flux icon indicating copy to clipboard operation
flux copied to clipboard

Implement FixedZone function

Open nathanielc opened this issue 6 years ago • 1 comments

From the SPEC:

FixedZone creates a location based on a fixed time offset from UTC.

FixedZone has the following parameters:

  • offset duration Offset is the offset from UTC for the time zone. Offset must be less than 24h. Defaults to 0, which produces the UTC location.

Examples:

fixedZone(offset:-5h) // time zone 5 hours west of UTC
fixedZone(offset:4h30m) // time zone 4 and a half hours east of UTC

nathanielc avatar Oct 19 '18 22:10 nathanielc

dupe of #406 ?

russorat avatar Mar 04 '20 06:03 russorat