MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit

Persian calendar months and years problem.

未关闭
#1,646 8 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

bug
主要语言
C#
星标
16.3k
派生
3.5k
平均合并
1 天 22 小时
30 天内合并 PR
8

描述

This issue #1077 was posted and based on #1080 and this 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

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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

未确定源文件或测试;首先使用报告中的屏幕截图和 startup-code 上下文,复现将 Language 设置为 Persian 且将 FlowDirection 设置为 RightToLeft 的日历。完成的标准是日历主体、月份、年份和日期值始终使用波斯历,而不是显示公历日期。

由索引模型根据 Issue 内容生成。

评估

技术栈
csharp
领域
desktop, localization
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。