Skip to content

DateInput there are no way to change to dd/mm/yyyy? #3250

Answered by phantodev
phantodev asked this question in Help
Discussion options

You must be logged in to vote

ATTENTION EVERYONE: This issue was resolved using NPM as the package manager.

You won't believe it.

In my case I am using the following code:

<I18nProvider locale="pt-br">
                <DateInput
                  isRequired
                  className="max-w-sm"
                  classNames={{
                    label: "!text-base text-zinc-500",
                  }}
                  endContent={<Calendar className="text-primary" />}
                  label="Travel Date"
                  labelPlacement="outside"
                  placeholderValue={new CalendarDate(1995, 11, 6)}
                  size="lg"
                />
</I18nProvider>

If i use YARN as package manager this COD…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@phantodev
Comment options

@wingkwong
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by phantodev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants