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.
1 parent 0912e15 commit ecb495aCopy full SHA for ecb495a
crates/core/src/warc.rs
@@ -265,6 +265,8 @@ impl Arbitrary for Request {
265
fn arbitrary_with(_args: ()) -> Self::Strategy {
266
(".+", any::<u64>())
267
.prop_map(|(url, timestamp)| {
268
+ let timestamp = timestamp % 1_733_000_000;
269
+
270
let date = match chrono::TimeZone::timestamp_opt(&chrono::Utc, timestamp as i64, 0)
271
{
272
chrono::LocalResult::Single(date) => Some(date),
0 commit comments