aboutsummaryrefslogtreecommitdiff
path: root/src/util/time.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/time.rs')
-rw-r--r--src/util/time.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/time.rs b/src/util/time.rs
index dfedcb26..238db2c3 100644
--- a/src/util/time.rs
+++ b/src/util/time.rs
@@ -16,5 +16,5 @@ pub fn msec_to_rfc3339(msecs: u64) -> String {
let secs = msecs as i64 / 1000;
let nanos = (msecs as i64 % 1000) as u32 * 1_000_000;
let timestamp = Utc.timestamp(secs, nanos);
- timestamp.to_rfc3339_opts(SecondsFormat::Secs, true)
+ timestamp.to_rfc3339_opts(SecondsFormat::Millis, true)
}