bitfoundation / bitplatform

Build all of your apps using what you already know and love ❤️
https://bitplatform.dev
MIT License
1.04k stars 216 forks source link

Calendrer In Persian Day Issue #7380

Open rypedram opened 2 months ago

rypedram commented 2 months ago

Is there an existing issue for this?

Describe the bug

I use BitDatePicker and I need Persian Calendar. Regarding the documents, I only need to configure my culture. I use CultureInfoHelper, but my calendar only shows the correct value when a date is selected. However, when selecting a modal, it shows the Georgian day.

Expected Behavior

i want to show the correct days

Steps To Reproduce

No response

Exceptions (if any)

In this photo today is 27 Farvardin 1403 but its show 15

Calendar Issue

.NET Version

6.0

Anything else?

bit blazorUi version is 8.8.1

ysmoradi commented 2 months ago

I'm not pretty sure that if .NET localization works fine on .NET 6 or not Could you please test it on .NET 8?

rypedram commented 2 months ago

I updated to version 8 but still have the same issue.

msynk commented 2 months ago

@rypedram could you plz share the code too? a github repo with a complete source code to reproduce the problem would be a lot more appreciated.