MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit

Persian calendar months and years problem.

Open
#1,646 8 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
16.3k
Forks
3.5k
Avg merge
1d 22h
Merged PRs (30d)
8

Description

This issue #1077 was posted and based on #1080 and [this](https://github.com/spiegelp/MaterialDesignInXamlToolkit/tree/CalendarSupport) problem should be solved, but it was not. there are Calendar header translated to persian calendar but Calendar body is Gregorian yet. I set the Language property as persian and Flow direction as RightToLeft but not effected on result, add startup codes also.

see: [this screenshot](https://www.dropbox.com/s/4v7q3pglmyouo11/Untitled.png?dl=0)

Pay attention to screenshot Red zone are persian but Yellow zone is Gregorian.
On Yellow zone year is 1398 and day is "پنجشنبه 17 بهمن" is 17/11/1398, but calendar day is 6/2/2020.

also on below screenshot applies for months and years, 2020 must be 1398.

https://www.dropbox.com/h?preview=Untitled.pngq.png

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is identified; first reproduce the calendar with Language set to Persian and FlowDirection set to RightToLeft, using the reported screenshots and startup-code context. Done means the calendar body, months, years, and day values use the Persian calendar consistently instead of showing Gregorian dates.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, localization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.