<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<contentHaul xmlns:a="http://www.appian.com/ae/types/2009">
    <rule>
        <name>${expRule_dateFormat_name}</name>
        <uuid>${expRule_dateFormat_uuid}</uuid>
        <description>${expRule_dateFormat_desc}</description>
        <parentUuid>${_a-0000dc10-002c-8000-9b0c-01ef9001ef90_2789}</parentUuid>
        <visibility>
            <advertise>false</advertise>
            <hierarchy>true</hierarchy>
            <indexable>true</indexable>
            <quota>false</quota>
            <searchable>true</searchable>
            <system>false</system>
            <unlogged>false</unlogged>
        </visibility>
        <definition>if(
  isnull(ri!date),
  &quot;&quot;,
  if(
    /* Else if the date is on a future date, show the full date and time */
    ri!date &gt; today()+1,
    text(ri!date, &quot;MMM d, yyyy h:mm a&quot;),
    if(
      /* Else if the input is sometime today, just show the time. */
      ri!date &gt; today(),
      text(ri!date, &quot;h:mm:ss a&quot;),
      if(
        /* Else if the input is sometime this year, just show the day and month. */
        ri!date &gt; date(year(now()), 1, 1),
        text(ri!date, &quot;MMM d&quot;),
        /* Else, show day, month, and year */
        text(ri!date, &quot;MMM d, yyyy&quot;)
      )
    )
  )
)</definition>
        <namedTypedValue>
            <name>date</name>
            <type>
                <name>dateTime</name>
                <namespace>http://www.w3.org/2001/XMLSchema</namespace>
            </type>
        </namedTypedValue>
        <preferredEditor>legacy</preferredEditor>
        <offlineEnabled>false</offlineEnabled>
    </rule>
    <roleMap public="true">
        <role allowForAll="false" inherit="true" name="readers">
            <users/>
            <groups/>
        </role>
        <role allowForAll="false" inherit="true" name="authors">
            <users/>
            <groups/>
        </role>
        <role allowForAll="false" inherit="true" name="administrators">
            <users/>
            <groups/>
        </role>
        <role allowForAll="false" inherit="false" name="denyReaders">
            <users/>
            <groups/>
        </role>
        <role allowForAll="false" inherit="false" name="denyAuthors">
            <users/>
            <groups/>
        </role>
        <role allowForAll="false" inherit="false" name="denyAdministrators">
            <users/>
            <groups/>
        </role>
    </roleMap>
</contentHaul>
