Format a Unix epoch milliseconds timestamp to RFC-3339 string.
(epoch_ms: i64)
| 756 | |
| 757 | /// Format a Unix epoch milliseconds timestamp to RFC-3339 string. |
| 758 | fn format_timestamp_ms(epoch_ms: i64) -> String { |
| 759 | chrono::DateTime::from_timestamp_millis(epoch_ms) |
| 760 | .map(|dt| dt.to_rfc3339()) |
| 761 | .unwrap_or_else(|| format!("{}", epoch_ms)) |
| 762 | } |
| 763 | |
| 764 | mod embeddings; |
| 765 | mod graph; |
no outgoing calls
no test coverage detected