Comments (3)
can you check this in outlook web instead of outlook client?
also check what is the value you get for ews.TimeZoneInfo.Local
on your server, this auto timezone detection is not very perfect
from ews-javascript-api.
@gautamsi thanks for the quick reply
Unfortunately, the issue is on a production server of a client where they have on-premise exchange server. I don't have access to outlook web there.
our nodejs app is on aws , I will add some logs on production and see what value for ews.TimeZoneInfo.Local
and re-send it here .
just to make sure that I understand , setting event.StartTimeZone = ews.TimeZoneInfo.Local
will get the timezone of nodejs server (aws in our case ) and set it to be the timezone of the appointment ? if yes , then its not what I am looking for .
my goal to show the appointment on the same timezone as the user's timezone
for example if I am sending "2024-06-04T10:30:00.000Z"
as start date , it should appear for a user in Berlin as 11:30
(UTC+1)
On the testing environment, we are only provided with outlook web that is also hosted by the client and I don't see this issue on outlook web
from ews-javascript-api.
you would want to find user timezone and use that timezone instead. if you use ews.TimeZoneInfo.Local
it uses moment.tz.guess()
which is not something in my control. You have to either set the timezone in code or get it for each user and construct the timezone based on that.
from ews-javascript-api.
Related Issues (20)
- Authorisation problem - 401 HOT 6
- Error SoapFaultDetails message: '401 Unauthorized', HOT 8
- TypeScript errors when compiling (cannot find name PrivilegedUserId and more) HOT 4
- Usage React Native
- Failing to fetch .msg file attachment from ews exchange server ews-javascript-api HOT 4
- C# code works, but not its Node equivalent: 401 Unauthorized HOT 16
- Booking type causes sync to fail
- Specify certificate authority while sending request HOT 2
- nodejs 18: digital envelope routines::unsupported HOT 5
- Appointment.Bind sometimes return null Organizer HOT 2
- Possibility to set User-Agent HOT 4
- when creating an event in the calendar, the body is not added HOT 1
- UNABLE_TO_VERIFY_LEAF_SIGNATURE HOT 1
- Missing typescript declaration for CreateItem HOT 2
- how to retrieve strings from Extended Properties with more than 255 characters HOT 1
- Missing finally in promise declaration
- AWS WorkMail: 500 Error HOT 1
- Question: Can we create a new mailbox for an existing AD user using this library? HOT 3
- Cannot get attachment of .EML type HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ews-javascript-api.