OxL Reference

method Tz.abbreviationAt

Zone abbreviation at t (MSK, EST); may be empty.

Example:

oxl✓ checked in CI
use std.time { Time }

fn main() io {
  print("{tz"Europe/Berlin".abbreviationAt(Time.ofUnixSeconds(1783000000))}")
}
Output
CEST
pub(api) fn abbreviationAt(t: Tm) -> str

Since. 1.0.0-beta

Parameters

NameType
tTm

Returns

str

Effects

none declared (pure unless the body says otherwise)

Defined in: std/time/time.oxl:820

See also