René's URL Explorer Experiment


Title: [Bugfix] Wrong ISO time format in Python quickstart for Calendar API by Marc416 · Pull Request #2116 · googleworkspace/python-samples · GitHub

Open Graph Title: [Bugfix] Wrong ISO time format in Python quickstart for Calendar API by Marc416 · Pull Request #2116 · googleworkspace/python-samples

X Title: [Bugfix] Wrong ISO time format in Python quickstart for Calendar API by Marc416 · Pull Request #2116 · googleworkspace/python-samples

Description: Hi team, issue #2115 While testing the Calendar API using the Python quickstart guide, I noticed an issue in the time formatting line. The current code is: now = datetime.datetime.now(tz=datetime.timezone.utc).isoformat() + "Z" # 'Z' indicates UTC time However, this results in an invalid ISO 8601 timestamp like: makefile 2025-04-07T14:39:12.345678+00:00Z Appending "Z" after a timezone-aware ISO string (which already includes +00:00) makes the timestamp invalid. This can cause unexpected errors when calling the API. It should be corrected to: now = datetime.datetime.now(tz=datetime.timezone.utc).isoformat() When the incorrect format is used, it leads to errors like this: { "error": { "code": 403, "message": "Method doesn't allow unregistered callers (callers without established identity)...", "status": "PERMISSION_DENIED" } } Thanks!

Open Graph Description: Hi team, issue #2115 While testing the Calendar API using the Python quickstart guide, I noticed an issue in the time formatting line. The current code is: now = datetime.datetime.now(tz=datetime.t...

X Description: Hi team, issue #2115 While testing the Calendar API using the Python quickstart guide, I noticed an issue in the time formatting line. The current code is: now = datetime.datetime.now(tz=datetime.t...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3

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:68e5941d-5870-1e93-1a0a-b30c4f39a7ef
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id948A:F5A57:2EA346:3981C0:6B08B40C
html-safe-nonceab07cf63d999d7b1132d0aa491aad8bbd5b4653149de61f855149cf705fb64e6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDhBOkY1QTU3OjJFQTM0NjozOTgxQzA6NkIwOEI0MEMiLCJ2aXNpdG9yX2lkIjoiMzQ1OTUzNjYzNDc3MTk3NzIyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacef4ec7b9beccbddecec156576a665f92ee03ab96307b98462a83294d090211bc
hovercard-subject-tagpull_request:2443458203
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/2116/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:altHi team, issue #2115 While testing the Calendar API using the Python quickstart guide, I noticed an issue in the time formatting line. The current code is: now = datetime.datetime.now(tz=datetime.t...
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/2116/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleworkspace%2Fpython-samples%2Fpull%2F2116%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%2F2116%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/2116/files
Reloadhttps://github.com/googleworkspace/python-samples/pull/2116/files
Reloadhttps://github.com/googleworkspace/python-samples/pull/2116/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
Marc416https://github.com/Marc416
googleworkspace:mainhttps://github.com/googleworkspace/python-samples/tree/main
Marc416:bugfix/issue2115https://github.com/Marc416/python-samples/tree/bugfix/issue2115
Conversation 3 https://github.com/googleworkspace/python-samples/pull/2116
Commits 3 https://github.com/googleworkspace/python-samples/pull/2116/commits
Checks 0 https://github.com/googleworkspace/python-samples/pull/2116/checks
Files changed https://github.com/googleworkspace/python-samples/pull/2116/files
Please reload this pagehttps://github.com/googleworkspace/python-samples/pull/2116/files
[Bugfix] Wrong ISO time format in Python quickstart for Calendar API https://github.com/googleworkspace/python-samples/pull/2116/files#top
Show all changes 3 commits https://github.com/googleworkspace/python-samples/pull/2116/files
29d77f2 [Bugfix] Wrong ISO time format in Python quickstart for Calendar API Marc416 Apr 7, 2025 https://github.com/googleworkspace/python-samples/pull/2116/commits/29d77f2674d49cb647609bc74228acf2f22e8bef
856f44b fix : remove "Z" after isoformat in python quickstart Marc416 Apr 7, 2025 https://github.com/googleworkspace/python-samples/pull/2116/commits/856f44b10cf02c1b4f12fe5fc3e3b4a566573ef4
00421d4 Merge remote-tracking branch 'origin/bugfix/issue2115' into bugfix/is… Marc416 Apr 9, 2025 https://github.com/googleworkspace/python-samples/pull/2116/commits/00421d4316a7ecdcaf8c8b342b8bb02d82a128db
Clear filters https://github.com/googleworkspace/python-samples/pull/2116/files
Please reload this pagehttps://github.com/googleworkspace/python-samples/pull/2116/files
Please reload this pagehttps://github.com/googleworkspace/python-samples/pull/2116/files
calendar/quickstart/quickstart.pyhttps://github.com/googleworkspace/python-samples/pull/2116/files#diff-b718c7ed5ea4bdce857b8b2a6e9d500c5a302ef86293f5bcc31a9fbfbc3ade66
View file https://github.com/Marc416/python-samples/blob/00421d4316a7ecdcaf8c8b342b8bb02d82a128db/calendar/quickstart/quickstart.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleworkspace/python-samples/pull/2116/{{ revealButtonHref }}
https://github.com/googleworkspace/python-samples/pull/2116/files#diff-b718c7ed5ea4bdce857b8b2a6e9d500c5a302ef86293f5bcc31a9fbfbc3ade66
https://github.com/googleworkspace/python-samples/pull/2116/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.