frontend/test/common/datetime
Wendelin 03a415beff
Onboarding restore use core api (#23920)
* Fix type issues

* Extract backup-upload

* Add onboarding upload section

* Extract and use ha-backup-details

* Implement backup details and restore

* remove unused hassio onboarding calls

* Require hass in dialog-hassio-backup

* Add restore view

* Add formatDateTime without locale and config

* Add restore status

* Fix prettier

* Fix styles of backup details

* Remove unused localize

* Fix onboarding restore translations

* Hide data-picker on core only instance

* Split uploadBackup into 2 separate funcs

* Add formatDateTimeWithBrowserDefaults

* Fix selected data for core only

* Show error reasons on status page

* Use new backup info agents

* Add mem function for formatDateTimeWithBrowserDefaults

* Fix overflow on mobile

* Handle errors when in hassio mode

* Fix cancel restore texts

* Fix hassio localize type issue

* Remove unused onboarding localize in hassio backup restore

* improve format_date_time

* Fix tests

* Fix and simplify backup upload issues

* Use foreach instead of reduce

* Fix attributes, unused styles and properties

* Simplify supervisor warning

* Fix language type issues

* Fix ha-backup-data-picker

* Improve backup-details-restore

* Fix onboarding-restore issues

* Improve loadBackupInfo

* Revert uploadBackup changes

* Improve cancel restore

* Use destructive

* Update src/panels/config/backup/dialogs/dialog-upload-backup.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

* Show backup type not at onboarding

* Only show backup type in correct translationPanel

* Fix quotes

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2025-02-10 16:40:08 +01:00
..
absolute_time.test.ts Add tests for common/datetime (#23658) 2025-01-09 15:47:32 +01:00
calc_date.test.ts Add tests for common/datetime (#23658) 2025-01-09 15:47:32 +01:00
check_valid_date.test.ts Rspack (#22807) 2024-11-26 14:49:13 +01:00
create_duration_data.test.ts Add tests for common/datetime (#23658) 2025-01-09 15:47:32 +01:00
duration_to_seconds.test.ts Rspack (#22807) 2024-11-26 14:49:13 +01:00
first_weekday.test.ts Add tests for common/datetime (#23658) 2025-01-09 15:47:32 +01:00
format_date.test.ts Add tests for common/datetime (#23658) 2025-01-09 15:47:32 +01:00
format_date_time.test.ts Onboarding restore use core api (#23920) 2025-02-10 16:40:08 +01:00
format_duration.test.ts Add tests for common/datetime (#23658) 2025-01-09 15:47:32 +01:00
format_time.test.ts Add tests for common/datetime (#23658) 2025-01-09 15:47:32 +01:00
localize_date.test.ts Add tests for common/datetime (#23658) 2025-01-09 15:47:32 +01:00
milliseconds_to_duration.test.ts Rspack (#22807) 2024-11-26 14:49:13 +01:00
relative_time.test.ts Rspack (#22807) 2024-11-26 14:49:13 +01:00
resolve-time-zone.test.ts Rspack (#22807) 2024-11-26 14:49:13 +01:00
seconds_to_duration.test.ts Add tests for common/datetime (#23658) 2025-01-09 15:47:32 +01:00
shift_date_range.test.ts Unit Test for shiftDateRange (#23324) 2024-12-19 15:42:31 +01:00
use_am_pm.test.ts Add tests for common/datetime (#23658) 2025-01-09 15:47:32 +01:00