Tau (do_auth v0.5.0-pre)

I honestly have no idea why VC data model wants time encoded up to seconds, but ok. This module is for VC data model compatible timestamps, and, perhaps, some other time-related stuff we might need here. Maybe vector clocks and such? I dunno.

Link to this section Summary

Functions

Defensive raw version.

Offensive raw version.

PostgreSQL-compatible ISO string to DateTime.

Banging version!

PostgreSQL-compatible current UTC timestamp.

Link to this section Functions

Link to this function

from_raw_utc_iso8601(arg)

Specs

from_raw_utc_iso8601(binary()) :: Uptight.Result.t()

Defensive raw version.

Link to this function

from_raw_utc_iso8601!(arg)

Specs

from_raw_utc_iso8601!(binary()) :: DateTime.t()

Offensive raw version.

Link to this function

from_utc_iso8601(iso_txt)

Specs

from_utc_iso8601(Uptight.Text.t()) :: Uptight.Result.t()

PostgreSQL-compatible ISO string to DateTime.

Link to this function

from_utc_iso8601!(iso_txt)

Specs

from_utc_iso8601!(Uptight.Text.t()) :: DateTime.t()

Banging version!

Specs

now() :: DateTime.t()

PostgreSQL-compatible current UTC timestamp.

Specs

resolve(DateTime.t()) :: DateTime.t()
Link to this function

resolve_old(dt)

Specs

resolve_old(DateTime.t()) :: DateTime.t()