View Source Arke.Core.Parameter.Time (Arke v1.1.33)

Module that define the struct of a Time by extending the Arke.Core.Parameter.base_parameters().


Accepted values

Date accepts the following format as values:

  • string => "HH:MM:SS" (separator must be - hyphen)

  • sigil => ~T[HH:MM:SS] (separator must be - hyphen)

  • struct => %Time{}

    {arke_struct} = Parameter.Date


Element added

  • default => values => default value

## Example

  iex> params = [id: :time_test, default: "23:14:15"]
  ...>{type: :time, opts: params})

## Return


Link to this section Summary

Link to this section Functions