I’m coding a page that allows a user to create a bus timetable. My plan is to use a st.data_editor
with some columns setting to TimeColumn
.
However, I noticed that there are some issues when keying time into a cell. The parsing works when I enter 13:00:00
and all the way to 19:00:00
. But when I enter 20:00:00, the cell will jump to 02:00:00.
A more subtle issue is when entering time between 12:01:00
to 12:59:00
. I would expect it refers to PM, but the parsing done by TimeColumn
gives AM.
Btw, sticking to entering time with AM/PM works fine. It’s kind of annoying that 24-hour format just “semi-works”. Anyone has any tricks to circumvent this??
(I was testing these locally with Streamlit 1.44.1.)