Aidan Timson
91a0066544
Add dashboard time visibility condition ( #27790 )
...
* Add time-based conditional visibility for cards
* Move clearTimeout outside of scheduleUpdate
* Add time string validation
* Add time string validation
* Remove runtime validation as config shouldnt allow bad values
* Fix for midnight crossing
* Cap timeout to 32-bit signed integer
* Add listener tests
* Additional tests
* Format
2025-11-12 15:55:59 +02:00
Petar Petrov
e432f0a8ee
Fix date test to work on Oct 20 ( #27575 )
...
* Fix date test to work on Oct 20
* tweak
2025-10-20 10:39:04 +00:00
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
Wendelin
853059ac73
Add tests for common/datetime ( #23658 )
2025-01-09 15:47:32 +01:00
libe.net
b84e00b312
Unit Test for shiftDateRange ( #23324 )
...
Unit Test for Pull 23228
Co-authored-by: Wendelin <12148533+wendevlin@users.noreply.github.com >
2024-12-19 15:42:31 +01:00
Paul Bottein
f8ce7c2ce1
Don't use duration formatting for second unit ( #23132 )
...
Don't use duration formatting for sec unit
2024-12-04 13:17:47 +01:00
karwosts
f7c8c6e3e8
Dont floor duration for milliseconds ( #23028 )
...
* Dont floor duration for milliseconds
* remove ms
2024-11-27 17:27:03 +00:00
Paul Bottein
3411967fd9
Only use duration poly-fill when necessary ( #23030 )
2024-11-27 17:13:29 +01:00
Paul Bottein
164944ceff
Improve duration formatting ( #23025 )
2024-11-27 15:00:29 +01:00
Paul Bottein
a532b4461d
Use explicit duration format for state formatting ( #23017 )
2024-11-27 12:49:21 +01:00
Wendelin
bd0bfc1fbe
Rspack ( #22807 )
...
* Add rspack
* Remove TransformAsyncModulesPlugin from rspack
* Migrate all webpack usage to rspack
* Migrate tests to vitest
* Fix test suites
* Remove chai dependency
* Fix compute_state_display tests
* Fix resolveTimeZone
* Reduces test pipeline
* Revert test ci
* optimize chunk filtering
* Migrate landing-page to rspack
* Update rspack dependencies
* Add rsdoctor
* Fix prod build bundle size
* Use rsdoctor for demo stats
* Remove unused webpack configs
* Update build-scripts/rspack.cjs
Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com >
* Fix eslint
* Update rspack
* Remove unused code
---------
Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com >
2024-11-26 14:49:13 +01:00
Bram Kragten
780de42e4b
Allow to show times in the UI in the timezone of the server ( #16799 )
2023-06-13 12:12:13 +02:00
Christoph Wen, B.Sc
2ad6253b72
Add setting to localize numeric dates independent from language ( #15770 ) ( #16489 )
2023-05-30 19:39:27 +00:00
Raman Gupta
a19ff5aef5
Add milliseconds support for duration sensors ( #15895 )
2023-03-26 23:52:18 +02:00
Adam Kapos
5e4b673751
Fix relative time above 22 hours ( #15072 )
...
fixes https://github.com/home-assistant/frontend/issues/14815
fixes undefined
2023-01-24 12:53:57 +00:00
Paul Bottein
40d0455936
Fix common tests ( #14485 )
2022-11-30 19:50:53 +01:00
Paul Bottein
907466d060
Add first weekday option in profile ( #13991 )
2022-10-10 16:58:27 +02:00
Michael Varrieur
0c800344d2
Add custom selectUnit, use in relativeTime function ( #14008 )
2022-10-10 14:26:02 +00:00
J. Nick Koston
145e5d7bc6
Format sensors with state class duration ( #12426 )
2022-04-26 02:07:11 +00:00
Michael Gorven
1010777139
Add weekday to formatTimeWeekday() ( #11020 )
2022-01-24 19:25:45 +01:00
Bram Kragten
1bccbd4173
Use browser default time and number formatting with polyfills if needed ( #9481 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2021-09-29 23:34:52 +00:00