Refactor timestamp generation to use helper function

Introduces `PendingStore.nowRfc3339()` to consistently generate RFC3339
timestamps with second granularity. This avoids potential issues with
sub-second precision in filenames and aligns with common timestamp
formatting practices. The helper function is used in `CaseDetailScreen`
and `RecordingViewModel` to replace direct calls to
`Instant.now().toString()`. A new unit test verifies the expected
behavior of the helper function.
This commit is contained in:
2026-04-27 14:53:35 +02:00
parent c15590f3e0
commit 9cc0946f90
5 changed files with 33 additions and 4 deletions
+4
View File
@@ -19,6 +19,10 @@
* CRITICAL: "cargo clippy" hat immer Recht!
## Java
* Java Home ist in /opt/android-studio/jbr
## HTML
* Innerhalb von HTML-Seiten sind JS-Einbettungen ausdrücklich erlaubt und gewünscht, wenn sie für den modernen Look-And-Feel der Webseite erforderlich sind.