Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pick up wrong timezone #244

Open
ntung opened this issue Aug 3, 2024 · 5 comments
Open

Pick up wrong timezone #244

ntung opened this issue Aug 3, 2024 · 5 comments

Comments

@ntung
Copy link

ntung commented Aug 3, 2024

When I update an event:
image

The plugin picks up wrong timezone or it does not get the times from the form.

Clicked me - Tung!
{
  "from":"2024-08-20T17:30:00.000Z",
  "to":"2024-08-20T18:15:00.000Z",
  "title":"Tuan Nguyen, 4 people, M: 01223666606",
  "description":"Email: [email protected], Phone: 01223666606, for 4 people with the message Chi Hai dat ban.",
  "location":"Thanh Binh Restaurant",
  "group":"Booking Group",
  "id":"eb6cb10b-4d6c-4b5d-3859-7f53b9e2913c",
  "created":"2024-08-03T19:09:47.312Z"
}
@williamtroup
Copy link
Collaborator

It takes the times from the form. Timezone issues are apparent, and I will hopefully have an option for this in v3.0.0+.

@ntung
Copy link
Author

ntung commented Aug 3, 2024

Thank you for the swift reply!
Should I figure out a trick to fix the issue on our end?

@williamtroup
Copy link
Collaborator

Yes, for now, it does pick the values correctly from the form, so you will get what they have selected. You will need to convert it on your end for storage.

@ntung
Copy link
Author

ntung commented Aug 3, 2024

As you see, it is 1 hour later than the values on the form. I think it is because of BST and GMT. Right?

@williamtroup
Copy link
Collaborator

Yes, that will be the issue. I will be adding better support for this moving forward into v3.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant