Skip to content

Conversation

@mfaferek93
Copy link

@mfaferek93 mfaferek93 commented Jan 31, 2026

Pull Request

Summary

When running with use_sim_time=true, fault timestamps are recorded in simulation time (seconds since sim start) instead of Unix epoch. This caused UI to display dates like "1/1/1970 00:02:28".

Detect small timestamps (< year 2000) and substitute current time as a workaround until fault_manager is fixed to use wall clock time.


Issue

Link the related issue (required):

  • closes #

Type

  • Bug fix
  • New feature
  • Breaking change
  • Documentation only

Testing

How was this tested / how should reviewers verify it?


Checklist

  • Breaking changes are clearly described (and announced in docs / changelog if needed)
  • Linting passes (npm run lint)
  • Build succeeds (npm run build)
  • Docs were updated if behavior or public API changed

When running with use_sim_time=true, fault timestamps are recorded in
simulation time (seconds since sim start) instead of Unix epoch. This
caused UI to display dates like "1/1/1970 00:02:28".

Detect small timestamps (< year 2000) and substitute current time as
a workaround until fault_manager is fixed to use wall clock time.
@mfaferek93 mfaferek93 force-pushed the fix/sim-time-timestamps branch from 2cd6f70 to bc47d0e Compare January 31, 2026 19:37
@bburda bburda self-requested a review January 31, 2026 19:38
@bburda bburda added the bug Something isn't working label Jan 31, 2026
@bburda bburda merged commit f02b5e6 into main Jan 31, 2026
3 checks passed
@bburda bburda deleted the fix/sim-time-timestamps branch January 31, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants