Format a Unix epoch milliseconds timestamp to RFC-3339 string.
(epoch_ms: i64)
| 850 | |
| 851 | /// Format a Unix epoch milliseconds timestamp to RFC-3339 string. |
| 852 | fn format_timestamp_ms(epoch_ms: i64) -> String { |
| 853 | chrono::DateTime::from_timestamp_millis(epoch_ms) |
| 854 | .map(|dt| dt.to_rfc3339()) |
| 855 | .unwrap_or_else(|| format!("{}", epoch_ms)) |
| 856 | } |
| 857 | |
| 858 | mod embeddings; |
| 859 | mod graph; |
no outgoing calls
no test coverage detected