We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2b57966 + bb4d1bf commit ae5bdbaCopy full SHA for ae5bdba
src/lib.rs
@@ -332,8 +332,7 @@ where
332
pub fn add_default_keys(self) -> Self {
333
self.add_key_value(o!(
334
"ts" => FnValue(move |_ : &Record| {
335
- time::OffsetDateTime::now_local()
336
- .unwrap_or_else(|_| time::OffsetDateTime::now_utc())
+ time::OffsetDateTime::now_utc()
337
.format(&time::format_description::well_known::Rfc3339)
338
.ok()
339
}),
0 commit comments