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

JSON Calendar Dose not show Correct Schedule on Month Change on Sunday #58

Open
sahilbatraa opened this issue Feb 3, 2016 · 0 comments

Comments

@sahilbatraa
Copy link

Hi Team,

There is an issue in JSON Calendar , If last day of month is Sunday and a user creates a record for 11:00 PM to 12:00 AM , the record dose not shows up.

Steps to reproduce :

Change Dates in HTML FIle - weekcalendar_json.html - Line 53 to 55.

  date: new Date('2016-01-31T13:15:00.000+10:00'),
  minDate: new Date('2016-01-31T13:15:00.000+10:00'),
  maxDate: new Date('2016-02-06T13:15:00.000+10:00'),

Now in file : events.json - Place the JSON as

[
{"id":1, "start":"2016-01-31T23:00:00.000+05:30", "end":"2016-01-31T24:00:00.000+05:30", "title":"Lunch with TEst1"},
{"id":2, "start":"2016-02-03T23:00:00.000+05:30", "end":"2016-02-03T24:00:00.000+05:30", "title":"Lunch with Test2"}
]

You cannot see the Event on Sunday 31 JAn.

Now change JSON to 👍

[
{"id":1, "start":"2016-01-31T23:00:00.000+05:30", "end":"2016-01-31T23:59:00.000+05:30", "title":"Lunch with TEst1"},
{"id":2, "start":"2016-02-03T23:00:00.000+05:30", "end":"2016-02-03T24:00:00.000+05:30", "title":"Lunch with Test2"}
]

You will be able to see Calendar Event.

Can someone help me to fix this ?

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