Skip to content

feat: 添加每周第一天设置选项#80

Open
PrefacedCorg wants to merge 4 commits intoLiPolymer:v1from
PrefacedCorg:v1
Open

feat: 添加每周第一天设置选项#80
PrefacedCorg wants to merge 4 commits intoLiPolymer:v1from
PrefacedCorg:v1

Conversation

@PrefacedCorg
Copy link

  • 在档案信息组件中添加了每周第一天的设置选项
  • 默认设置为周日,符合用户习惯
  • 支持中文显示周几选项(周日、周一、周二、周三、周四、周五、周六)
  • 确保周数计算正确反映用户设置的每周第一天
  • 修复了周数计算逻辑,确保不同每周第一天设置下的计算准确性

- 在档案信息组件中添加了每周第一天的设置选项
- 默认设置为周日,符合用户习惯
- 支持中文显示周几选项(周日、周一、周二、周三、周四、周五、周六)
- 确保周数计算正确反映用户设置的每周第一天
- 修复了周数计算逻辑,确保不同每周第一天设置下的计算准确性
Copy link
Owner

@LiPolymer LiPolymer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我有空改了就合并
谢谢您的贡献😋

ItemsSource="{Binding FirstDayOfWeekOptions}">
<ComboBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Converter={StaticResource EnumDescriptionConverter}}" />
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可考虑直接使用周内日期enum转为string的值转换器

@LiPolymer
Copy link
Owner

LiPolymer commented Mar 8, 2026

我的修改已完成, 不过我未能验证该功能是否可用(选择任意选项均无影响) (包括该修改的原始版本 ca0d84e)

我已检查 我的修改并非造成疑似失效的原因 已签出 ca0d84e 进行过检查, 问题存在

请您手动检查一下该修补的可用性

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants