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