View Source Plausible.Timezones (Plausible v0.0.1)

Summary

Functions

Link to this function

options(now \\ DateTime.utc_now())

View Source
@spec options(DateTime.t()) :: [key: String.t(), value: String.t(), offset: integer()]
Link to this function

to_date_in_timezone(dt, timezone)

View Source
@spec to_date_in_timezone(Date.t() | NaiveDateTime.t() | DateTime.t(), String.t()) ::
  Date.t()
Link to this function

to_datetime_in_timezone(dt, timezone)

View Source
@spec to_datetime_in_timezone(Date.t() | NaiveDateTime.t() | DateTime.t(), String.t()) ::
  DateTime.t()