as_date

Overview

Formats a date string in formatted in ISO_8601 according to a format string. Format strings use strptime/strftime formatting

Paramters

  • iso_stringstring – A date string formatted in ISO 8601
  • formatstring – A format string specifying the desired output

Example

{% as_date value "%m/%d/%Y" %}  # "2019-08-27T18:17:52+00:00" => "08/27/2019"