少年修仙传客户端代码仓库
10360 仙匠大会活动时间间隔支持开始日期和结束日期配同一天显示完整信息
1个文件已修改
16 ■■■■■ 已修改文件
System/LianQi/OperationLianQiCross.cs 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/LianQi/OperationLianQiCross.cs
@@ -24,11 +24,8 @@
            var textBuilder = OperationTimeHepler.textBuilder;
            textBuilder.Length = 0;
            textBuilder.Append(string.Format(" {0}:{1}", joinStartHour.ToString("D2"), joinStartMinute.ToString("D2")));
            if (startDate != endDate)
            {
                textBuilder.Append(" - ");
                textBuilder.Append(string.Format(" {0}:{1}", joinEndHour.ToString("D2"), joinEndMinute.ToString("D2")));
            }
            textBuilder.Append(" - ");
            textBuilder.Append(string.Format(" {0}:{1}", joinEndHour.ToString("D2"), joinEndMinute.ToString("D2")));
            return textBuilder.ToString();
        }
@@ -38,12 +35,9 @@
            textBuilder.Length = 0;
            textBuilder.Append(startDate.ToDisplay(false));
            textBuilder.Append(string.Format(" {0}:{1}", joinStartHour.ToString("D2"), joinStartMinute.ToString("D2")));
            if (startDate != endDate)
            {
                textBuilder.Append(" - ");
                textBuilder.Append(endDate.ToDisplay(false));
                textBuilder.Append(string.Format(" {0}:{1}", joinEndHour.ToString("D2"), joinEndMinute.ToString("D2")));
            }
            textBuilder.Append(" - ");
            textBuilder.Append(endDate.ToDisplay(false));
            textBuilder.Append(string.Format(" {0}:{1}", joinEndHour.ToString("D2"), joinEndMinute.ToString("D2")));
            return textBuilder.ToString();
        }