search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

End date is adding one day

Asked by Maheswar
8 years ago.

The end date is actually September 30th
but it is showing October 1st bcz of time i would like to customize the bubble (when i am dragging an event).It should show me the end date as September 30th.How Can i do it ?

Please check the attachment.In the event is drawing September 30th but when re sizing or moving it shows the next day i would like to change it.

Answer posted by Dan Letecky [DayPilot]
8 years ago.

By default, the Scheduler works with exact points in time. E.g. a one day event starting on 2015-10-01T00:00:00 ends on 2015-10-02T00:00:00 (duration of 24 hours).

However, you can adjust how the Scheduler treats the end date to "Date-only" using .eventEndSpec property:

dp.eventEndSpec = "Date"; // default value is "DateTime"

See also:
http://api.daypilot.org/daypilot-scheduler-eventendspec/

Comment posted by Maheswar Reddy
8 years ago.

Thank you so much it worked.

Comment posted by Maheswar Reddy
8 years ago.

It worked but while resizing (decreasing) some times it is showing wrong date.Please find attachment.

Comment posted by Dan Letecky [DayPilot]
8 years ago.

I can see the problem. Please let me check that.

Comment posted by Dan Letecky [DayPilot]
8 years ago.

It's now fixed in the latest sandbox version:

http://javascript.daypilot.org/sandbox/

Comment posted by Maheswar Reddy
8 years ago.

thanks, for the post .We purchased daypilot sass,took the version number 1834

In this version this issue still exist will you please check it.

Comment posted by Dan Letecky [DayPilot]
8 years ago.

A SP release with the sandbox changes integrated will be released later today - you will be able to download the new release in the customer area.

Comment posted by Dan Letecky [DayPilot]
8 years ago.
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.