Skip to content

Commit

Permalink
Fix doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
liurenjie1024 committed Feb 27, 2024
1 parent 48495c3 commit e22c502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/iceberg/src/spec/values.rs
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ impl Datum {
/// ```rust
/// use chrono::{DateTime, FixedOffset, NaiveDate, NaiveDateTime, NaiveTime};
/// use iceberg::spec::{Literal, Datum};
/// let t = Datum::timestamp_from_str("2012-12-12 12:12:12.8899").unwrap();
/// let t = Datum::timestamp_from_str("2012-12-12 12:12:12.8899+00:00").unwrap();
///
/// assert_eq!(&format!("{t}"), "2012-12-12 12:12:12.889900");
/// ```
Expand Down

0 comments on commit e22c502

Please sign in to comment.