跳到主要内容

github/tai

公开

Tai · Windows 软件与网站使用时长统计。上游 Planshit/Tai 的源码镜像,非灵栈原创;MIT 许可。来源:https://github.com/Planshit/Tai 。本次为手动同步,暂不提供安装包。

提交记录
修改UI/Controls/DatePickerBar/DatePickerBar.cs+5 −1看文件
@@ -48,7 +48,11 @@ namespace UI.Controls.DatePickerBar
4848 var control = d as DatePickerBar;
4949 if (e.NewValue != e.OldValue)
5050 {
51删除: control.ScrollToActive(DateTime.Parse(e.NewValue.ToString()));
51新增: //DateTime newDateTime = DateTime.Now;
52新增:
53新增: DateTime.TryParse(e.NewValue.ToString(), out DateTime newDateTime);
54新增:
55新增: control.ScrollToActive(newDateTime);
5256 control.UpdateDateString();
5357 }
5458 }