Skip to content
Discussion options

You must be logged in to vote

You can switch to a Persian calendar using the "calendar" prop. The value format is automatically "YYYY/MM/DD".

ui.date(value='2023-02-24')
ui.date(value='1401/12/05').props('calendar=persian')

However, this does not translate anything. Language packs and internationalization with NiceGUI is still an open topic (#389).

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by falkoschindler
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #428 on February 24, 2023 11:34.