Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix: Exclude
ctz
Parameter for All-Day Events to Resolve Google Calendar Android IssueThis PR addresses an issue with the generate method in the Google calendar link generator, specifically for all-day events on Android devices. When the ctz (timezone) parameter is included for all-day events, Android devices encounter problems interpreting the event duration correctly, leading to inaccurate calendar entries.
Changes:
ctz
parameter if the event is an all-day event.Impact:
This fix improves compatibility and accuracy for all-day events on Android, resolving an existing issue where Android misinterprets all-day events when the
ctz
parameter is included.References:
TEST CASE (Same Event Link)
All Day Event with CTZ Param (Test on Android : Google Calendar) - Issue
https://calendar.google.com/calendar/render?action=TEMPLATE&dates=20241101%2F20241103&details=EVENT_DESC&location=EVENT_LOCATION&text=EVENT_TITLE&ctz=UTC
All Day Event Without CTZ Param (Test on Android : Google Calendar) - No Isse
https://calendar.google.com/calendar/render?action=TEMPLATE&dates=20241101%2F20241103&details=EVENT_DESC&location=EVENT_LOCATION&text=EVENT_TITL