René's URL Explorer Experiment


Title: [Bugfix] Wrong ISO time format in Python quickstart for Calendar API · Issue #2115 · googleworkspace/python-samples · GitHub

Open Graph Title: [Bugfix] Wrong ISO time format in Python quickstart for Calendar API · Issue #2115 · googleworkspace/python-samples

X Title: [Bugfix] Wrong ISO time format in Python quickstart for Calendar API · Issue #2115 · googleworkspace/python-samples

Description: Hi team, 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 t...

Open Graph Description: Hi team, 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)...

X Description: Hi team, 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)...

Opengraph URL: https://github.com/googleworkspace/python-samples/issues/2115

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bugfix] Wrong ISO time format in Python quickstart for Calendar API","articleBody":"Hi team,\n\nWhile testing the Calendar API using the [Python quickstart guide](https://developers.google.com/workspace/calendar/api/quickstart/python?hl=en), I noticed an issue in the time formatting line.\n\nThe current code is:\n\n```python\nnow = datetime.datetime.now(tz=datetime.timezone.utc).isoformat() + \"Z\"  # 'Z' indicates UTC time\n```\nHowever, this results in an invalid ISO 8601 timestamp like:\n\nmakefile\n```\n2025-04-07T14:39:12.345678+00:00Z\n```\nAppending \"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.\n\nIt should be corrected to:\n\n```python\nnow = datetime.datetime.now(tz=datetime.timezone.utc).isoformat()\n```\nWhen the incorrect format is used, it leads to errors like this:\n\n```json\n{\n  \"error\": {\n    \"code\": 403,\n    \"message\": \"Method doesn't allow unregistered callers (callers without established identity)...\",\n    \"status\": \"PERMISSION_DENIED\"\n  }\n}\n```\nI've submitted a PR with the fix—please take a look when possible!\n\nThanks!\n\n","author":{"url":"https://github.com/Marc416","@type":"Person","name":"Marc416"},"datePublished":"2025-04-07T14:01:29Z","url":"https://github.com/googleworkspace/python-samples/issues/2115"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e55b90d2-2f7b-805e-fe59-e16f357a7cca
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE776:2DCD5C:55F4E5:6DA71D:6B08B047
html-safe-nonce084774d43eb2d596c70b1193ecd1e5906f802d74de64f7be42c4d03a979ddeb1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzc2OjJEQ0Q1Qzo1NUY0RTU6NkRBNzFEOjZCMDhCMDQ3IiwidmlzaXRvcl9pZCI6IjQ3NTA1NzUzNzEyNjYwNzY3NDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf56b3d7e7b7763d24c8fbb74d4196a8eb301844c8591bbd171f5af42e2786470
hovercard-subject-tagissue:2976981652
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleworkspace/python-samples/2115/issue_layout
twitter:imagehttps://opengraph.githubassets.com/bb996dd8dafc05618001b892b66453327ccfbe0df086cce25bdac3494c890568/googleworkspace/python-samples/issues/2115
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bb996dd8dafc05618001b892b66453327ccfbe0df086cce25bdac3494c890568/googleworkspace/python-samples/issues/2115
og:image:altHi team, 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)...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMarc416
hostnamegithub.com
expected-hostnamegithub.com
None60e86161f3e246339ce8d4bd308e3da0ecd5ebd5e610d57e00d21487fe085d68
turbo-cache-controlno-preview
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-turbofalse
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
react-app-nameissues

Links:

Skip to contenthttps://github.com/googleworkspace/python-samples/issues/2115#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleworkspace%2Fpython-samples%2Fissues%2F2115
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%2Fissues%2F2115
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=googleworkspace%2Fpython-samples
Reloadhttps://github.com/googleworkspace/python-samples/issues/2115
Reloadhttps://github.com/googleworkspace/python-samples/issues/2115
Reloadhttps://github.com/googleworkspace/python-samples/issues/2115
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
https://github.com/googleworkspace/python-samples
New issuehttps://github.com/login?return_to=https://github.com/googleworkspace/python-samples/issues/2115
New issuehttps://github.com/login?return_to=https://github.com/googleworkspace/python-samples/issues/2115
#2117https://github.com/googleworkspace/python-samples/pull/2117
[Bugfix] Wrong ISO time format in Python quickstart for Calendar APIhttps://github.com/googleworkspace/python-samples/issues/2115#top
#2117https://github.com/googleworkspace/python-samples/pull/2117
https://github.com/jpoehnelt
https://github.com/Marc416
Marc416https://github.com/Marc416
on Apr 7, 2025https://github.com/googleworkspace/python-samples/issues/2115#issue-2976981652
Python quickstart guidehttps://developers.google.com/workspace/calendar/api/quickstart/python?hl=en
blunderbuss-gcfhttps://github.com/apps/blunderbuss-gcf
jpoehnelthttps://github.com/jpoehnelt
on Apr 7, 2025https://github.com/googleworkspace/python-samples/issues/2115#event-17154432387
https://github.com/trammell
trammellhttps://github.com/trammell
on Apr 18, 2025https://github.com/googleworkspace/python-samples/issues/2115#issuecomment-2816359847
jpoehnelthttps://github.com/jpoehnelt
completedhttps://github.com/googleworkspace/python-samples/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#2117https://github.com/googleworkspace/python-samples/pull/2117
on Apr 19, 2025https://github.com/googleworkspace/python-samples/issues/2115#event-17326591573
Sign up for freehttps://github.com/signup?return_to=https://github.com/googleworkspace/python-samples/issues/2115
Sign in to commenthttps://github.com/login?return_to=https://github.com/googleworkspace/python-samples/issues/2115
jpoehnelthttps://github.com/jpoehnelt
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-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.