Giter Club home page Giter Club logo

Comments (9)

Merrique avatar Merrique commented on June 12, 2024

Hello,

Thank you for your feedback and information that this is an expected behaviour.

Closing an issue as this is not a bug :)

from ej2-vue-ui-components.

ravikumar-venkatesan-m avatar ravikumar-venkatesan-m commented on June 12, 2024

Hi @Merrique,

Please ignore our last update.

Sample: https://codesandbox.io/s/ej2-vue-3-schedule-recurrence-appointment-in-dst-timezone-kqxynq

We have validated your reported problem at our end by preparing a sample based on your shared details. As per your shared details, we suspect that you are facing your reported problem in the time zone shown in the shared snip. But we are unable to reproduce your reported problem in this time zone. Could you please check our shared sample if you still facing the same problem share the below details to proceed further.

  • Your system time zone details.
  • If you are using the timezone property of the Schedule share the timezone value that you are using.
  • Issue reproducing video demo.
  • Reproduce your reported problem in our shared sample or
  • Schedule-related code snippets with the codes that you are using to generate appointments and bind them to the Schedule or
  • Share an issue reproducing a sample.
  • Share any additional details which will help us to reproduce the issue at our end.

image

Regards,
Ravikumar Venkatesan

from ej2-vue-ui-components.

Merrique avatar Merrique commented on June 12, 2024

Hello @ravikumar-venkatesan-m ,

I have played a little bit with the set up you have prepared.
And when running the things as they are done by default everything looks good:
no timezone prop

The situation changes to the problem I have described when I add prop timezone to the ejs-schedule.
This very strange to me as the timezone given is the same timezone as the timezone of my computer and it agrees to the timezone you added when doing calculation using moment.js
added timezone prop
I do add the timezone in the application I work in as user can change it freely depending on its need.

There is one more thing which is important and it's the day when we start the recurrence. When I changed the start of the repetition to be week earlier, i.e. not on the day of DST than the task on 29th does not longer "feel" that its the day of the switch between summer and winter time.
This is the image taken without added timezone prop, but you can notice the change to the beginning of repetition pattern.
changed repetition start week earlier

After adding the timezone prop the tasks are identical:
changed repetition start week earlier with timezone prop

The part related to the start of the recurrence is not important for me as I have access to all the tasks of recurrence as if they were single tasks, thus I never add RecurrenceRule

from ej2-vue-ui-components.

Merrique avatar Merrique commented on June 12, 2024

But I guess I can make it work if I will stop using the timezone prop what is very unfortunate in my opinion as it will require changing the datasource every time I change timezone.

from ej2-vue-ui-components.

Merrique avatar Merrique commented on June 12, 2024

Hello again @ravikumar-venkatesan-m,
I have testes the idea I mentioned in the message before and actually it will not work. Since without providing timezone prop even if I recalculate the startTime to be in the desired timezone it is later converted to my local timezone

Screenshot from 2023-07-12 09-43-04

This can be resolved by adding properties StartTimezone and EndTimezone but it than recreates the original issue when applying my local timezone
Screenshot from 2023-07-12 09-50-01

It seems to me that there is something wrong with the transformations when the timezone property is added

from ej2-vue-ui-components.

SwathiRavi14 avatar SwathiRavi14 commented on June 12, 2024

Merrique,

We have validated your reported issue by altering the sample based on the information you provided. However, its working fine as expected. We checked the identical issue in Outlook calendar and discovered that it functions similarly to Schedule. We designed our Schedule component in accordance with Outlook requirements.

Sample: https://codesandbox.io/s/ej2-vue-3-schedule-recurrence-appointment-in-dst-timezone-forked-2tfdpf?file=/src/App.vue

Outlook:

image

Schedule:

image

image

from ej2-vue-ui-components.

Merrique avatar Merrique commented on June 12, 2024

Hello @SwathiRavi14,
The issue is still persistent for me if you set the start of the original task at the day of the DST.

No repetition task scheduled at 29th of October (changed the start date and end date and removed recurrence)
Screenshot from 2023-07-19 09-55-54

Adding repetition but for the task that starts on the 29th of October. Please notice that the "1h" task (12-3am) is repeated in the future.
Screenshot from 2023-07-19 09-56-42
Screenshot from 2023-07-19 10-01-09

This is the source of my issue. In the project I'm working on for various reason all of the tasks are being fetched even if they were generated as the recurrent task. Which means I read it as a single task ad the RecurrenceRule is never added to my data source. I guess my description was misleading at the start because of this.

from ej2-vue-ui-components.

SwathiRavi14 avatar SwathiRavi14 commented on June 12, 2024

@Merrique ,

We checked your reported issue in our Scheduler and informed you that the StartTimeZone and EndTimeZone fields in your appointments data are required. Regarding your observation about tasks on the day of Daylight-Saving Time (DST), we have analyzed the behavior of the Scheduler in comparison to the Outlook calendar. Our investigation shows that both applications handle recurring events in a similar manner, and the repeating occurrences are shown with the same start and end times as the parent recurring event.

Sample: https://codesandbox.io/s/ej2-vue-3-schedule-recurrence-appointment-in-dst-timezone-forked-tk2wl8

Schedule:

image

Outlook:

image

from ej2-vue-ui-components.

Merrique avatar Merrique commented on June 12, 2024

@SwathiRavi14,

The images i have provided were generated after making changes to your codesandbox, where no StarTimeZone or endTimeZone were provided. The link you attached is here https://codesandbox.io/s/ej2-vue-3-schedule-recurrence-appointment-in-dst-timezone-forked-2tfdpf?file=/src/App.vue.

As I mentioned in my previous comment my problem occurs when you will have the first task of the recurrence on the day of the DST. Here is the sample I created based on the most recent link you attached
https://codesandbox.io/s/ej2-vue-3-schedule-recurrence-appointment-in-dst-timezone-forked-gwn6rv?file=/src/App.vue

And here is the image I can see on my screen generated for this sample:
Screenshot from 2023-07-20 16-12-24

The only change I have made is I changed the startDate of the repetition to be on the 29th not on the 23rd

from ej2-vue-ui-components.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.