{{#unless timeFirst}}
  {{date-input
    date=date
    relativeDate=relativeDate
    onChange=(action "onChangeDate")
  }}
{{/unless}}

{{#if showTime}}
  {{time-input
    date=date
    relativeDate=relativeDate
    onChange=(action "onChangeTime")
  }}
{{/if}}

{{#if timeFirst}}
  {{date-input
    date=date
    relativeDate=relativeDate
    onChange=(action "onChangeDate")
  }}
{{/if}}

{{#if clearable}}
  {{d-button
    class="clear-date-time"
    icon="times"
    action=(action "onClear")
  }}
{{/if}}
