module

Time::EpochConverter

Class methods

to_cbor(value : Time, encoder : CBOR::Encoder)

Emits the time as a tagged unix timestamp, as specified by RFC 7049 section 2.4.1.

Source