René's URL Explorer Experiment


Title: fix: correct time format in Python quickstart by Marc416 · Pull Request #2117 · googleworkspace/python-samples · GitHub

Open Graph Title: fix: correct time format in Python quickstart by Marc416 · Pull Request #2117 · googleworkspace/python-samples

X Title: fix: correct time format in Python quickstart by Marc416 · Pull Request #2117 · googleworkspace/python-samples

Description: Description While testing the Calendar API using the Python quickstart guide, I noticed that the time formatting line appends a "Z" to a timezone-aware ISO string. This leads to an invalid ISO 8601 timestamp such as: 2025-04-07T14:39:12.345678+00:00Z Appending "Z" to a string that already contains +00:00 (UTC offset) makes it invalid and may result in errors when calling the API. Fix Updated the time formatting line to remove the redundant "Z": now = datetime.datetime.now(tz=datetime.timezone.utc).isoformat() This ensures the timestamp remains valid and conforms to ISO 8601. Fixes #2115 Has it been tested? Development testing done Unit or integration test implemented Checklist My code follows the style guidelines of this project I have performed a self-review of my own code I have performed a peer-reviewed with team member(s) I have commented my code, particularly in hard-to-understand areas I have made corresponding changes to the documentation My changes generate no new warnings Any dependent changes have been merged and published in downstream modules

Open Graph Description: Description While testing the Calendar API using the Python quickstart guide, I noticed that the time formatting line appends a "Z" to a timezone-aware ISO string. This leads to an invali...

X Description: Description While testing the Calendar API using the Python quickstart guide, I noticed that the time formatting line appends a "Z" to a timezone-aware ISO string. This leads to a...

Opengraph URL: https://github.com/googleworkspace/python-samples/pull/2117

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:940d48aa-788e-5523-3a9b-4bc73f1fad9d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAAAC:280539:2C1B61:362672:6B08B2AF
html-safe-nonce8f6fe111b91408fa14f8c2d5353ab7f2ea7583aa77e2f882d0c06fb0114091b9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUFDOjI4MDUzOToyQzFCNjE6MzYyNjcyOjZCMDhCMkFGIiwidmlzaXRvcl9pZCI6Ijg0NTcxNDMzNzQ3NTg1ODkxMDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac02f4c651fc1066c22f6cff48042a639252c61b34d8fb83f2ceb9aa4083947804
hovercard-subject-tagpull_request:2447447463
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/googleworkspace/python-samples/pull/2117/files
twitter:imagehttps://avatars.githubusercontent.com/u/51898482?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/51898482?s=400&v=4
og:image:altDescription While testing the Calendar API using the Python quickstart guide, I noticed that the time formatting line appends a "Z" to a timezone-aware ISO string. This leads to an invali...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None60e86161f3e246339ce8d4bd308e3da0ecd5ebd5e610d57e00d21487fe085d68
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/googleworkspace/python-samples git https://github.com/googleworkspace/python-samples.git
octolytics-dimension-user_id3708359
octolytics-dimension-user_logingoogleworkspace
octolytics-dimension-repository_id14163863
octolytics-dimension-repository_nwogoogleworkspace/python-samples
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id14163863
octolytics-dimension-repository_network_root_nwogoogleworkspace/python-samples
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee87e2b0f8aff9e45b7ac6c81be5a939ad971830c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/googleworkspace/python-samples/pull/2117/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleworkspace%2Fpython-samples%2Fpull%2F2117%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleworkspace%2Fpython-samples%2Fpull%2F2117%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=googleworkspace%2Fpython-samples
Reloadhttps://github.com/googleworkspace/python-samples/pull/2117/files
Reloadhttps://github.com/googleworkspace/python-samples/pull/2117/files
Reloadhttps://github.com/googleworkspace/python-samples/pull/2117/files
googleworkspacehttps://github.com/googleworkspace
python-sampleshttps://github.com/googleworkspace/python-samples
Codehttps://github.com/googleworkspace/python-samples
Issues55 (55)https://github.com/googleworkspace/python-samples/issues
Pull requests97 (97)https://github.com/googleworkspace/python-samples/pulls
Actionshttps://github.com/googleworkspace/python-samples/actions
Projectshttps://github.com/googleworkspace/python-samples/projects
Wikihttps://github.com/googleworkspace/python-samples/wiki
Security and qualityhttps://github.com/googleworkspace/python-samples/security
Insightshttps://github.com/googleworkspace/python-samples/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fgoogleworkspace%2Fpython-samples%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgoogleworkspace%2Fpython-samples%2Fissues%2Fnew%2Fchoose
jpoehnelthttps://github.com/jpoehnelt
googleworkspace:mainhttps://github.com/googleworkspace/python-samples/tree/main
Marc416:fix/issue2115https://github.com/Marc416/python-samples/tree/fix/issue2115
Conversation 3 https://github.com/googleworkspace/python-samples/pull/2117
Commits 3 https://github.com/googleworkspace/python-samples/pull/2117/commits
Checks 0 https://github.com/googleworkspace/python-samples/pull/2117/checks
Files changed https://github.com/googleworkspace/python-samples/pull/2117/files
Please reload this pagehttps://github.com/googleworkspace/python-samples/pull/2117/files
fix: correct time format in Python quickstart https://github.com/googleworkspace/python-samples/pull/2117/files#top
Show all changes 3 commits https://github.com/googleworkspace/python-samples/pull/2117/files
c2301d3 fix : remove "Z" after isoformat in python quickstart Marc416 Apr 9, 2025 https://github.com/googleworkspace/python-samples/pull/2117/commits/c2301d3c2e9f2ffeeeeed3cfc0be5a87343f6a95
76e5b29 fix: remove invalid 'Z' from isoformat Marc416 Apr 9, 2025 https://github.com/googleworkspace/python-samples/pull/2117/commits/76e5b292be4f44dabaef1bf756ad7f2093345946
969f58c Merge remote-tracking branch 'origin/fix/issue2115' into fix/issue2115 Marc416 Apr 9, 2025 https://github.com/googleworkspace/python-samples/pull/2117/commits/969f58c0304175a867fa5011e46e282e72729cb8
Clear filters https://github.com/googleworkspace/python-samples/pull/2117/files
Please reload this pagehttps://github.com/googleworkspace/python-samples/pull/2117/files
Please reload this pagehttps://github.com/googleworkspace/python-samples/pull/2117/files
calendar/quickstart/quickstart.pyhttps://github.com/googleworkspace/python-samples/pull/2117/files#diff-b718c7ed5ea4bdce857b8b2a6e9d500c5a302ef86293f5bcc31a9fbfbc3ade66
View file https://github.com/Marc416/python-samples/blob/969f58c0304175a867fa5011e46e282e72729cb8/calendar/quickstart/quickstart.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleworkspace/python-samples/pull/2117/{{ revealButtonHref }}
https://github.com/googleworkspace/python-samples/pull/2117/files#diff-b718c7ed5ea4bdce857b8b2a6e9d500c5a302ef86293f5bcc31a9fbfbc3ade66
https://github.com/googleworkspace/python-samples/pull/2117/files#diff-b718c7ed5ea4bdce857b8b2a6e9d500c5a302ef86293f5bcc31a9fbfbc3ade66
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.