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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user