# Bokeh DateEditor value different from display in Tabulator

**URL:** <https://discourse.holoviz.org/t/bokeh-dateeditor-value-different-from-display-in-tabulator/7366>\
**Category:** Panel\
**Tags:** bokeh, panel, tabulator\
**Created:** [June 27, 2024, 8:12pm UTC](https://discourse.holoviz.org/t/bokeh-dateeditor-value-different-from-display-in-tabulator/7366 "2024-06-27T20:12:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![PythonPanelNewbie](https://discourse.holoviz.org/letter_avatar_proxy/v4/letter/p/3ec8ea/32.png) [@PythonPanelNewbie](https://discourse.holoviz.org/u/PythonPanelNewbie)\
**Post date:** [June 27, 2024, 8:12pm UTC](https://discourse.holoviz.org/t/bokeh-dateeditor-value-different-from-display-in-tabulator/7366/1 "2024-06-27T20:12:05Z")

</div>

I am trying to allow the user to edit a date displayed in a Tabulator. However, the value of the date chosen is always one day behind the date selected/shown. Are there any workarounds or is there something I’m doing wrong?

You can observe the behavior with the following code:

```auto
string = pn.widgets.StaticText()

test_df = pd.DataFrame(data={'Column1': dt.date(2024, 11, 11)}, index=[0])

test_date_tbl = pn.widgets.Tabulator(
            test_df, disabled=False, editors = {'Column1': bokeh.models.widgets.tables.DateEditor()}, selectable=True, formatters={'Column1': DateFormatter(format='%m-%d-%Y'')})

def tbl_update(event):
      string.param.update(value=f'New {event.column} value is {event.value}')

test_date_tbl.on_edit(tbl_update)

pn.Column(test_date_tbl, string )

```

---

<div class="post-metadata">

**Author:** ![PythonPanelNewbie](https://discourse.holoviz.org/letter_avatar_proxy/v4/letter/p/3ec8ea/32.png) [@PythonPanelNewbie](https://discourse.holoviz.org/u/PythonPanelNewbie)\
**Post date:** [June 27, 2024, 8:16pm UTC](https://discourse.holoviz.org/t/bokeh-dateeditor-value-different-from-display-in-tabulator/7366/2 "2024-06-27T20:16:49Z")

</div>

I’m on Panel version 1.4.4 and bokeh version 3.4.1. Timezone is EST.

---

<div class="post-metadata">

**Author:** ![coderambling](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/coderambling/32/6347_2.png) [@coderambling](https://discourse.holoviz.org/u/coderambling)\
**Post date:** [June 28, 2024, 7:23am UTC](https://discourse.holoviz.org/t/bokeh-dateeditor-value-different-from-display-in-tabulator/7366/3 "2024-06-28T07:23:47Z")

</div>

As I understand it Panel 1.5 will address a bunch of issues regarding Tabulator. Don’t know if this is one of them though.

See link below.

> [@Tabulator issues are show stoppers](https://discourse.holoviz.org/t/tabulator-issues-are-show-stoppers/7262):
>
> There are 58 open issues related to component tabulator of label bugs. I am using this component extensively in my applications so this is getting to be a show stopper for my users. [Tabulator issues marked bugs](https://github.com/holoviz/panel/issues?q=is%3Aopen+label%3A%22component%3A+tabulator%22+label%3A%22type%3A+bug%22+) Its a complex component so I don’t even know where to start to workaround the issues (selection, esp. when sorting and filtering) Any roadmap on when some of the major ones are going to be tackled?

---

<div class="post-metadata">

**Author:** ![PythonPanelNewbie](https://discourse.holoviz.org/letter_avatar_proxy/v4/letter/p/3ec8ea/32.png) [@PythonPanelNewbie](https://discourse.holoviz.org/u/PythonPanelNewbie)\
**Post date:** [June 28, 2024, 4:07pm UTC](https://discourse.holoviz.org/t/bokeh-dateeditor-value-different-from-display-in-tabulator/7366/4 "2024-06-28T16:07:07Z")

</div>

I looked through the link and I didn’t see a logged bug that looked like it addresses this behavior. Do you know what the process is for logging bugs?

---

<div class="post-metadata">

**Author:** ![maximlt](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/maximlt/32/2487_2.png) [@maximlt](https://discourse.holoviz.org/u/maximlt)\
**Post date:** [June 28, 2024, 6:21pm UTC](https://discourse.holoviz.org/t/bokeh-dateeditor-value-different-from-display-in-tabulator/7366/5 "2024-06-28T18:21:41Z")

</div>

Could you please open an issue [Issues · holoviz/panel · GitHub](https://github.com/holoviz/panel/issues)? Reporting the problem you stated here, how to reproduce it, and with a screenshot?
