File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -293,7 +293,7 @@ mod tests {
293293 #[ test]
294294 fn verify_correct_offsets_distant_past ( ) {
295295 // let distant_past = Local::now() - Duration::days(365 * 100);
296- let distant_past = Local :: now ( ) - Duration :: days ( 250 * 31 ) ;
296+ let distant_past = Local :: now ( ) - Duration :: days ( 365 * 500 ) ;
297297 let from_local = Local . from_local_datetime ( & distant_past. naive_local ( ) ) . unwrap ( ) ;
298298 let from_utc = Local . from_utc_datetime ( & distant_past. naive_utc ( ) ) ;
299299
@@ -306,7 +306,7 @@ mod tests {
306306
307307 #[ test]
308308 fn verify_correct_offsets_distant_future ( ) {
309- let distant_future = Local :: now ( ) + Duration :: days ( 250 * 31 ) ;
309+ let distant_future = Local :: now ( ) + Duration :: days ( 365 * 35000 ) ;
310310 let from_local = Local . from_local_datetime ( & distant_future. naive_local ( ) ) . unwrap ( ) ;
311311 let from_utc = Local . from_utc_datetime ( & distant_future. naive_utc ( ) ) ;
312312
You can’t perform that action at this time.
0 commit comments