diff --git a/src/infrastructure/api.rs b/src/infrastructure/api.rs index f249afc..d8917f6 100644 --- a/src/infrastructure/api.rs +++ b/src/infrastructure/api.rs @@ -479,7 +479,7 @@ impl ApiClient { let token = self.get_token().await?; let now = chrono::Utc::now(); - let week_later = now + chrono::Duration::days(7); + let end_time = now + chrono::Duration::days(30); let resp = self .client @@ -489,7 +489,7 @@ impl ApiClient { ("orderBy", "startTime"), ("singleEvents", "true"), ("timeMin", &now.format("%Y-%m-%dT%H:%M:%SZ").to_string()), - ("timeMax", &week_later.format("%Y-%m-%dT%H:%M:%SZ").to_string()), + ("timeMax", &end_time.format("%Y-%m-%dT%H:%M:%SZ").to_string()), ("maxResults", &max_results.to_string()), ]) .send()