thesis v0.3.4 Thesis.Backup
Represents a page and page_content backup.
Link to this section Summary
Link to this section Types
Link to this section Functions
Link to this function
changeset(backup, params \\ %{})
Changeset for Backup structs.
Link to this function
with_pretty_datetime(backup)
Formats a given Backup with a pretty_date field.
iex> backup = %Thesis.Backup{ inserted_at: ~N[2017-09-05 22:39:53.732381] } iex> b = Thesis.Backup.with_pretty_datetime(backup) iex> b.pretty_date "9-5-2017 @ 22:39"