☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Off by one error in Datepicker

Community Support
qwmnkj
qwmnkj

Hello, I’ve embedded a Datepicker object in the stock_app example. There seems to be an off-by-one-error after the 30th of March 2015. For example, when I select “20 April 2015”, the new value is “19 April 2015”. This doesn’t happen for dates <= 29th March 2015.

Let me know if more details are needed.

Thanks.

Theo

⌁   Link to post
qwmnkj
qwmnkj

Looked a bit further and realized that it relates to daylight saving.

In 2015, we change the time on March 29 and October 25. In between these dates the off-by-one-error happens. From 26 Oct and afterwards it’s fixed again.

Τη Πέμπτη, 9 Απριλίου 2015 - 10:29:43 π.μ. UTC+1, ο χρήστης qwmnkj έγραψε:

···

Hello, I’ve embedded a Datepicker object in the stock_app example. There seems to be an off-by-one-error after the 30th of March 2015. For example, when I select “20 April 2015”, the new value is “19 April 2015”. This doesn’t happen for dates <= 29th March 2015.

Let me know if more details are needed.

Thanks.

Theo

⌁   Link to post
Bryan
Bryan

Theo,

Thanks for the report. Can you make an actual issue report on GitHub so that this can be scheduled to be looked at at some point? It may be an issue with the upstream library, but we will have to investigate.

Thanks,

Bryan

···

On Apr 9, 2015, at 11:45 AM, qwmnkj <teddy-trjn@hotmail.com> wrote:

Looked a bit further and realized that it relates to daylight saving.

In 2015, we change the time on March 29 and October 25. In between these dates the off-by-one-error happens. From 26 Oct and afterwards it's fixed again.

Τη Πέμπτη, 9 Απριλίου 2015 - 10:29:43 π.μ. UTC+1, ο χρήστης qwmnkj έγραψε:
Hello, I've embedded a Datepicker object in the stock_app example. There seems to be an off-by-one-error after the 30th of March 2015. For example, when I select "20 April 2015", the new value is "19 April 2015". This doesn't happen for dates <= 29th March 2015.

Let me know if more details are needed.
Thanks.

Theo

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/0afb6596-7841-4fc9-8fa6-5dded2b3e498%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post

End of archived discussion · Replies are disabled