实际上就是RzDateTimeEdit的 运行后都显示为周了,而具体到底是星期几看不清楚了。
A
网上的标题大多是
修正Raize的时间日期控件不能正确显示星期几的问题
而方案是
if SysLocale.DefaultLCID <> $040D then S2 := Copy( S, 1, 2 ) else // Hebrew - Day name abbreviations handled differently begin if Length( S ) >= 5 then S2 := S[ 5 ] else S2 := S[ 1 ]; end; 注释掉,然后在下方加入以下语句代替: S2 := Copy( S, 2, 1);
后来还发现一个 方案
也是修改RzPopups.pas文件
检索 S := FormatSettings.ShortDayNames[ J ];
直接在后面 加上
if j=1 then s:='日';
if j=2 then s:='一';
if j=3 then s:='二';
if j=4 then s:='三';
if j=5 then s:='四';
if j=6 then s:='五';
if j=7 then s:='六';
如图位置: