taiga-family / taiga-ui

Angular UI Kit and components library for awesome people
https://taiga-ui.dev
Apache License 2.0
3.3k stars 465 forks source link

🐞 - `TuiTime.shift` doesn't shift higher order units #9817

Open DmitryBrovchenko opened 3 days ago

DmitryBrovchenko commented 3 days ago

Reproduction url

https://stackblitz.com/edit/angular-omavrt?file=src%2Fapp%2Fapp.component.ts,src%2Fapp%2Fapp.template.html&hideExplorer=1

Description

TuiTime.shift doesn't change minutes and hours, when changing seconds should result in their change, or hours when changing minutes.

Image

It complicates time related operations. The expected behavior is similar to TuiDay.append, which modifies other units.

Taiga UI version

3.98.0

Browser Used

Chrome

OS Used

Windows