HubDB wrong time displayed on page

Hello all,

I have a HubDB for physical events and to display them on dynamic pages. BUT i have an issue.
I have a column in my HubDB that is in Date and time format that has this input :

The code that displays it is this one :

And the result is this :

I don’t know why it adds 5 minutes to the time i selected on the display page.
I tried inputting 1:55PM in HubDB but it displays me 1:05PM

Any idea on how i can fix this please ?
Thank you

Hey @KCadi

The issue is that the “%m” directive is for zero-padded month. Try using the directive “%M”, with a capital “M”.

KevinC_1-1681843393873.png

KevinC_2-1681843405228.png

Worth noting that the datetimeformat filter is depreciated and you’ll want to use the format_datetime filter.

Hope this gets you moving!

Hey @Kevin-C

Thank you for your answer, it fixed my issue :slightly_smiling_face: