Format an event timestamp, including legacy seconds, to RFC-3339.
(epoch_ms: i64)
| 1090 | |
| 1091 | /// Format an event timestamp, including legacy seconds, to RFC-3339. |
| 1092 | fn format_timestamp_ms(epoch_ms: i64) -> String { |
| 1093 | crate::types::timestamp::epoch_datetime(epoch_ms) |
| 1094 | .map(|dt| dt.to_rfc3339()) |
| 1095 | .unwrap_or_else(|| format!("{}", epoch_ms)) |
| 1096 | } |
| 1097 | |
| 1098 | mod bindings; |
| 1099 | mod capability; |
no test coverage detected