René's URL Explorer Experiment


Title: Timezone problem on getAttendeesAvailability CalendarEvent · Issue #88 · OfficeDev/ews-java-api · GitHub

Open Graph Title: Timezone problem on getAttendeesAvailability CalendarEvent · Issue #88 · OfficeDev/ews-java-api

X Title: Timezone problem on getAttendeesAvailability CalendarEvent · Issue #88 · OfficeDev/ews-java-api

Description: When retrieving FreeBusy data using ExchangeService.getUserAvailability() the StartTime and EndTime of each CalendarEvent in the results are returned as UTC values even if the ExchangeService was constructed with a specific TimeZone. The...

Open Graph Description: When retrieving FreeBusy data using ExchangeService.getUserAvailability() the StartTime and EndTime of each CalendarEvent in the results are returned as UTC values even if the ExchangeService was c...

X Description: When retrieving FreeBusy data using ExchangeService.getUserAvailability() the StartTime and EndTime of each CalendarEvent in the results are returned as UTC values even if the ExchangeService was c...

Opengraph URL: https://github.com/OfficeDev/ews-java-api/issues/88

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":"Timezone problem on getAttendeesAvailability CalendarEvent","articleBody":"When retrieving FreeBusy data using ExchangeService.getUserAvailability() the StartTime and EndTime of each CalendarEvent in the results are returned as UTC values even if the ExchangeService was constructed with a specific TimeZone.\n\nThe method readElementValueAsUnbiasedDateTimeScopedToServiceTimeZone() of EwsServiceXmlReader is used to convert these UTC strings to Date objects, \nhowever at some point the DateFormat has had its TimeZone set to the default by commenting out line 108. (_formatter.setTimeZone(TimeZone.getTimeZone(\"UTC\"));_)\n\nThis causes the UTC string to be parsed as a local Date. so in the UK during British Summer Time the String \"2014-10-06T12:00:00\" becomes the Date 2014-10-06T12:00:00+0100 which is 2014-10-06T11:00:00Z i.e. one hour out.\nfor dates in standard time there is no problem in the UK as UTC == GMT so the conversion has no effect.\n\nremoving the comment on line 108 (and I suggest 114) solves the problem in that the Date returned is in UTC and can be converted to local time as required. So \"2014-10-06T12:00:00\" becomes the Date 2014-10-06T12:00:00Z which is 2014-10-06T13:00:00+0100 \n\nMy suggested fix is as follows:\n\n```\npublic Date readElementValueAsUnbiasedDateTimeScopedToServiceTimeZone()\n        throws Exception {\n    // Convert the element's value to a DateTime with no adjustment.\n    String date = this.readElementValue();\n    Date tempDate = null;\n    try {\n        DateFormat formatter = \n            new SimpleDateFormat(\"yyyy-MM-dd'T'HH:mm:ss\");\n        formatter.setTimeZone(TimeZone.getTimeZone(\"UTC\"));\n        tempDate = formatter.parse(date);\n    } catch (Exception e) {\n        DateFormat formatter = new SimpleDateFormat(\n                \"yyyy-MM-dd'T'HH:mm:ss.SSS\");\n        formatter.setTimeZone(TimeZone.getTimeZone(\"UTC\"));\n        tempDate = formatter.parse(date);\n    }\n    return tempDate;\n}\n```\n\nHowever, it may be worth reviewing the code to make use of either the ExchangeService TimeZone or the WorkingHours TimeZone from the response\n","author":{"url":"https://github.com/dave-stanley","@type":"Person","name":"dave-stanley"},"datePublished":"2014-10-08T14:42:40Z","url":"https://github.com/OfficeDev/ews-java-api/issues/88"}

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:d74e4fc3-1a0f-10b4-64a0-e8a75438e7d8
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBEF2:37323C:366BD8:4D2A49:6B05B6E1
html-safe-nonce89ecc59454fdb3b8d65d8bdc4cfb1619f1c54eacdf84565db5a6e9130db304c2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUYyOjM3MzIzQzozNjZCRDg6NEQyQTQ5OjZCMDVCNkUxIiwidmlzaXRvcl9pZCI6Ijc0NjU5NTA1MTcyNDQ4MzU1NTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0c6560a3c27b8a53fbc26eec06c22495153fb62ad66384a7ed63ea119a8ca6e5
hovercard-subject-tagissue:45252194
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/OfficeDev/ews-java-api/88/issue_layout
twitter:imagehttps://opengraph.githubassets.com/41a3021a36a1afc6a41337cfb6256ee64e4bee3e5dd4541aef06cc176b47ea5f/OfficeDev/ews-java-api/issues/88
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/41a3021a36a1afc6a41337cfb6256ee64e4bee3e5dd4541aef06cc176b47ea5f/OfficeDev/ews-java-api/issues/88
og:image:altWhen retrieving FreeBusy data using ExchangeService.getUserAvailability() the StartTime and EndTime of each CalendarEvent in the results are returned as UTC values even if the ExchangeService was c...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedave-stanley
hostnamegithub.com
expected-hostnamegithub.com
None106bb568ff143beb0075344f71b9097568f02130f2e85ac7ca2a4b82efb00b47
turbo-cache-controlno-preview
go-importgithub.com/OfficeDev/ews-java-api git https://github.com/OfficeDev/ews-java-api.git
octolytics-dimension-user_id6789362
octolytics-dimension-user_loginOfficeDev
octolytics-dimension-repository_id23322482
octolytics-dimension-repository_nwoOfficeDev/ews-java-api
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id23322482
octolytics-dimension-repository_network_root_nwoOfficeDev/ews-java-api
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
releaseb207ef4132553ef1428fae8ca470a518d651ce07
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/OfficeDev/ews-java-api/issues/88#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FOfficeDev%2Fews-java-api%2Fissues%2F88
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%2FOfficeDev%2Fews-java-api%2Fissues%2F88
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=OfficeDev%2Fews-java-api
Reloadhttps://github.com/OfficeDev/ews-java-api/issues/88
Reloadhttps://github.com/OfficeDev/ews-java-api/issues/88
Reloadhttps://github.com/OfficeDev/ews-java-api/issues/88
OfficeDevhttps://github.com/OfficeDev
ews-java-apihttps://github.com/OfficeDev/ews-java-api
Codehttps://github.com/OfficeDev/ews-java-api
Issues322 (322)https://github.com/OfficeDev/ews-java-api/issues
Pull requests22 (22)https://github.com/OfficeDev/ews-java-api/pulls
Actionshttps://github.com/OfficeDev/ews-java-api/actions
Projectshttps://github.com/OfficeDev/ews-java-api/projects
Wikihttps://github.com/OfficeDev/ews-java-api/wiki
Security and qualityhttps://github.com/OfficeDev/ews-java-api/security
Insightshttps://github.com/OfficeDev/ews-java-api/insights
https://github.com/OfficeDev/ews-java-api
#96https://github.com/OfficeDev/ews-java-api/pull/96
Timezone problem on getAttendeesAvailability CalendarEventhttps://github.com/OfficeDev/ews-java-api/issues/88#top
#96https://github.com/OfficeDev/ews-java-api/pull/96
bughttps://github.com/OfficeDev/ews-java-api/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/dave-stanley
thisOldDave (dave-stanley)https://github.com/dave-stanley
on Oct 8, 2014https://github.com/OfficeDev/ews-java-api/issues/88#issue-45252194
Victor Boctor (vboctor)https://github.com/vboctor
bughttps://github.com/OfficeDev/ews-java-api/issues?q=state%3Aopen%20label%3A%22bug%22
on Oct 8, 2014https://github.com/OfficeDev/ews-java-api/issues/88#event-175828676
https://github.com/praseodym
Mark Janssen (praseodym)https://github.com/praseodym
on Oct 13, 2014https://github.com/OfficeDev/ews-java-api/issues/88#issuecomment-58938687
#6https://github.com/OfficeDev/ews-java-api/pull/6
Mark Janssen (praseodym)https://github.com/praseodym
on Oct 13, 2014https://github.com/OfficeDev/ews-java-api/issues/88#event-177828515
Set time zone in readElementValueAsUnbiasedDateTimeScopedToServiceTim…https://github.com/semestry/ews-java-api/commit/5d3c12da0a7b2f22d50bbcc963bf0148692ec714
https://docs.github.com/articles/closing-issues-via-commit-messages
5d3c12dhttps://github.com/semestry/ews-java-api/commit/5d3c12da0a7b2f22d50bbcc963bf0148692ec714
Set time zone in readElementValueAsUnbiasedDateTimeScopedToServiceTim…https://github.com/semestry/ews-java-api/commit/ab33b4c31919ed194d25fa8b918e1fe6adca4720
https://docs.github.com/articles/closing-issues-via-commit-messages
ab33b4chttps://github.com/semestry/ews-java-api/commit/ab33b4c31919ed194d25fa8b918e1fe6adca4720
Set time zone in readElementValueAsUnbiasedDateTimeScopedToServiceTim…https://github.com/semestry/ews-java-api/commit/dc055b13d02957989f12c71e03a3ef8f7aebd88c
https://docs.github.com/articles/closing-issues-via-commit-messages
dc055b1https://github.com/semestry/ews-java-api/commit/dc055b13d02957989f12c71e03a3ef8f7aebd88c
Victor Boctor (vboctor)https://github.com/vboctor
completedhttps://github.com/OfficeDev/ews-java-api/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#96https://github.com/OfficeDev/ews-java-api/pull/96
on Oct 14, 2014https://github.com/OfficeDev/ews-java-api/issues/88#event-178011686
Victor Boctor (vboctor)https://github.com/vboctor
on Oct 14, 2014https://github.com/OfficeDev/ews-java-api/issues/88#event-178011693
Merge pull request #96 from eveoh/timezonehttps://github.com/OfficeDev/ews-java-api/commit/000fb850986ed88a6977ada16ca00e7a1e8f292c
#96https://github.com/OfficeDev/ews-java-api/pull/96
https://docs.github.com/articles/closing-issues-via-commit-messages
000fb85https://github.com/OfficeDev/ews-java-api/commit/000fb850986ed88a6977ada16ca00e7a1e8f292c
Sign up for freehttps://github.com/signup?return_to=https://github.com/OfficeDev/ews-java-api/issues/88
Sign in to commenthttps://github.com/login?return_to=https://github.com/OfficeDev/ews-java-api/issues/88
bughttps://github.com/OfficeDev/ews-java-api/issues?q=state%3Aopen%20label%3A%22bug%22
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.