| | |
| | | {
|
| | | var textBuilder = OperationTimeHepler.textBuilder;
|
| | | textBuilder.Length = 0;
|
| | | textBuilder.Append(startDate.ToDisplay());
|
| | | if (startDate == endDate)
|
| | | {
|
| | | textBuilder.Append(",");
|
| | | }
|
| | | else
|
| | | {
|
| | | textBuilder.Append("—");
|
| | | textBuilder.Append(endDate.ToDisplay(startDate.year != endDate.year));
|
| | | textBuilder.Append(",");
|
| | | }
|
| | | //textBuilder.Append(startDate.ToDisplay());
|
| | | //if (startDate != endDate)
|
| | | //{
|
| | | // textBuilder.Append("—");
|
| | | // textBuilder.Append(endDate.ToDisplay(startDate.year != endDate.year));
|
| | | //}
|
| | | if (allDay)
|
| | | {
|
| | | textBuilder.Append(Language.Get("OpenAllDay"));
|