calcom / cal.com

Scheduling infrastructure for absolutely everyone.
https://cal.com
Other
32.27k stars 7.94k forks source link

Booked meeting time incorrectly in Synology Calendar and Apple Calendar #13491

Open wachirapohn opened 9 months ago

wachirapohn commented 9 months ago

Issue Summary

Timezone mismatch when integrating Calcom with Synology Calendar (CalDav) and Apple Calendar. Meetings booked on Calcom with Asia/Bangkok (GMT+7) timezone are appearing in Synology Calendar and Apple Calendar with UTC (GMT+0) timezone, resulting in incorrect appointment times.

Steps to Reproduce

  1. Integrated Calcom with Synology Calendar.
  2. Booked a meeting on Calcom with a timezone set to Asia/Bangkok (GMT+7).
  3. The meeting appointment was sent to Synology Calendar.
  4. Observed that the appointment on Synology Calendar displayed the timezone as UTC (GMT+0) instead of Asia/Bangkok (GMT+7).
  5. Repeated the process with Apple Calendar and encountered the same issue.
  6. Changed the timezone in Calcom settings and attempted to book another meeting.
  7. The issue persisted despite the changes.

Actual Results

Expected Results

Technical details

Evidence

Use postgres/example user/password credentials

version: '3.8'

volumes: database-data:

networks: stack: name: stack external: false

services: database: container_name: database image: postgres restart: always volumes:

  • database-data:/var/lib/postgresql/data/ env_file: .env networks:
  • stack

    calcom: image: calcom/cal.com:main restart: always networks:

  • stack ports:
  • 31090:3000 env_file: .env environment:
  • DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB} depends_on:
  • database

Optional use of Prisma Studio. In production, comment out or remove the section below to prevent unwanted access to your database.

studio: image: calcom.docker.scarf.sh/calcom/cal.com restart: always networks:

  • stack ports:
  • 31091:5555 env_file: .env environment:
  • DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB} depends_on:
  • database command:
  • npx
  • prisma
  • studio

    END SECTION: Optional use of Prisma Studio.

Set this value to 'agree' to accept our license:

LICENSE: https://github.com/calendso/calendso/blob/main/LICENSE

#

Summary of terms:

- The codebase has to stay open source, whether it was modified or not

- You can not repackage or sell the codebase

- Acquire a commercial license to remove these terms by emailing: license@cal.com

NEXT_PUBLIC_LICENSE_CONSENT= LICENSE=

BASE_URL and NEXT_PUBLIC_APP_URL are both deprecated. Both are replaced with one variable, NEXT_PUBLIC_WEBAPP_URL

BASE_URL=http://localhost:3000

NEXT_PUBLIC_APP_URL=http://localhost:3000

NEXT_PUBLIC_WEBAPP_URL=http://localhost:31090

Configure NEXTAUTH_URL manually if needed, otherwise it will resolve to {NEXT_PUBLIC_WEBAPP_URL}/api/auth

NEXTAUTH_URL=http://localhost:3000/api/auth

It is highly recommended that the NEXTAUTH_SECRET must be overridden and very unique

Use openssl rand -base64 32 to generate a key

NEXTAUTH_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Encryption key that will be used to encrypt CalDAV credentials, choose a random string, for example with dd if=/dev/urandom bs=1K count=1 | md5sum

CALENDSO_ENCRYPTION_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Deprecation note: JWT_SECRET is no longer used

JWT_SECRET=secret

POSTGRES_USER=xxxxxxxxxxxxxxxxxxxxxxxxx POSTGRES_PASSWORD=xxxxxxxxxxxxxxxxxxxxxxxxxx POSTGRES_DB=calendso DATABASE_HOST=database:5432 DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB} GOOGLE_API_CREDENTIALS={}

Set this to '1' if you don't want Cal to collect anonymous usage

CALCOM_TELEMETRY_DISABLED=

Used for the Office 365 / Outlook.com Calendar integration

MS_GRAPH_CLIENT_ID= MS_GRAPH_CLIENT_SECRET=

Used for the Zoom integration

ZOOM_CLIENT_ID= ZOOM_CLIENT_SECRET=

E-mail settings

Configures the global From: header whilst sending emails.

EMAIL_FROM=xxxx@xxxxx.com

Configure SMTP settings (@see https://nodemailer.com/smtp/).

EMAIL_SERVER_HOST=xxxxxxxxxxxxxxxxxxxxxxxxx EMAIL_SERVER_PORT=xxxxxxxxxxxxxxxxxxxx EMAIL_SERVER_USER=xxxxxxx@xxxxxxxxx.com EMAIL_SERVER_PASSWORD=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

NODE_ENV=production

Thank you!

maige-app[bot] commented 9 months ago

Thank you for reporting this issue with timezone mismatches in Synology Calendar and Apple Calendar integrations. We will look into this as it seems to be a regression. In the meantime, if you have any more information or steps that could help us reproduce the issue, please feel free to share.

From Maige. How's my driving?

wachirapohn commented 8 months ago

Could you please provide an update on the current status? I've attempted to resolve the issue using various methods, yet it persists. I would appreciate any guidance or recommendations you might have to address this matter effectively. Thank you.

wachirapohn commented 7 months ago

Any advice for this issue?