PoskOfficial/Nepali-calendar-web

Time Zone mismatch

Opened this issue · 0 comments

When you create an event in this calendar (Miti) you would assume to enter event details in Nepali date and time in Nepal. But when you are in different time zone while creating that event, it assumes the time zone of the place you are creating the event, creating the event in wrong time in google calendar. It should rather convert the time zone while syncing the event in google calendar.

Steps to reproduce the behavior:

  1. Set different time zone in your system. In my case I set it to CST(US)
  2. Go to miti, add event, select a start time and date (say Mangsir 29 which is Friday), time 11:00 AM to Mangsir 29, 11:30 AM. Create the event.
  3. What it does is it creates the event for Saturday 11:00 AM to 11:30 AM, while it should create the event for Friday that time frame. But in google calendar it creates event on Friday 11:00 AM to 11:30 AM, while it should have been Thursday 11:15 PM to 11:45 PM
    I hope it makes sense.

The possible solution I could think of is: setting the Miti calendar to Nepal Timezone. Or it might have already been done and it is not functioning as it is supposed to.

Screenshots
If applicable, add screenshots to help explain your problem.
image

image

image

image

Smartphone (please complete the following information):

  • Device: iPhone14
  • OS: ios 17