Format a Unix epoch milliseconds timestamp to RFC-3339 string.
(epoch_ms: i64)
| 283 | |
| 284 | /// Format a Unix epoch milliseconds timestamp to RFC-3339 string. |
| 285 | fn format_timestamp_ms(epoch_ms: i64) -> String { |
| 286 | chrono::DateTime::from_timestamp_millis(epoch_ms) |
| 287 | .map(|dt| dt.to_rfc3339()) |
| 288 | .unwrap_or_else(|| format!("{}", epoch_ms)) |
| 289 | } |
| 290 | |
| 291 | mod embeddings; |
| 292 | mod graph; |
no outgoing calls
no test coverage detected