Skip to content

Commit

Permalink
chore(kit): rm extra TODO notes
Browse files Browse the repository at this point in the history
  • Loading branch information
nsbarsukov committed Dec 27, 2021
1 parent 2c3f62b commit d97047e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ export class TuiInputDateTimeComponent
this.timeMode,
// TODO finish localization in {@link https://github.com/TinkoffCreditSystems/taiga-ui/issues/954 issue}
'DMY',
'.',
);
}

Expand Down Expand Up @@ -318,22 +319,21 @@ export class TuiInputDateTimeComponent
max: TuiDay,
timeMode: TuiTimeMode,
dateFormat: TuiDateMode,
dateSeparator: string,
): TuiTextMaskOptions {
return {
// TODO finish localization in {@link https://github.com/TinkoffCreditSystems/taiga-ui/issues/954 issue}
mask: [
...tuiCreateDateMask('DMY', '.'),
...tuiCreateDateMask(dateFormat, dateSeparator),
',',
' ',
...tuiCreateTimeMask(timeMode),
],
pipe: tuiCreateAutoCorrectedDateTimePipe({
value: day,
// TODO finish localization in {@link https://github.com/TinkoffCreditSystems/taiga-ui/issues/954 issue}
dateSeparator: '.',
min,
max,
dateFormat,
dateSeparator,
timeMode,
}),
guide: false,
Expand Down

0 comments on commit d97047e

Please sign in to comment.