Skip to content

How to use additional date-time formats e.g "%d/%m/%Y" #15

@MaximeVlnve

Description

@MaximeVlnve

Hi,

I am currently trying to use your datetime picker and first of all i want to thank you about this useful component.

Secondly, i am here because i am french and i want to format the datetimepicker according to my locale. For that, i add to my DateTimePickerInput a format so that i have :

DateTimePickerInput(format="%d/%m/%Y %H:%M")

Basically i just wanted to invert month and day.

Also, in that case that does not work well but when i do not use a format option such as mentionned previously, your component works well (the datetime i wanted to save in my db is saved successfully).

Thanks in advance for your time,

Maxime

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions