Taiga UI 5.0 is out!

DateFormat CORE

GitHub

Directive allows to customize TuiInputDate , TuiInputDateRange , TuiInputDateMulti and TuiInputDateTime date format.

Basic

Also available through tuiDateFormatProvider
    
      
    
    
      <!-- Works in several levels-->
<div
    class="wrapper tui-space_top-3"
    [tuiDateFormat]="{mode: 'yyyy/mm/dd'}"
>
    <!-- You can also put directive directly on input-date -->
    <tui-textfield>
        <label tuiLabel>Cool</label>
        <input
            tuiInputDate
            [formControl]="control"
            [tuiDateFormat]="{separator: '-'}"
        />
        <tui-calendar *tuiDropdown />
    </tui-textfield>
</div>