mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-23 03:33:18 +01:00
Use long form of display time in compare export - thx Leon :)
Fix #6422
This commit is contained in:
parent
521478d679
commit
a656eb9faf
@ -1337,18 +1337,18 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
{
|
||||
sb.AppendLine(" <tr>");
|
||||
sb.AppendLine(" <td" + GetHtmlBackgroundColor(subtitleListView1.Items[i].SubItems[0]) + ">" + GetHtmlText(itemLeft, itemLeft.Number.ToString()) + "</td>");
|
||||
sb.AppendLine(" <td" + GetHtmlBackgroundColor(subtitleListView1.Items[i].SubItems[1]) + ">" + GetHtmlText(itemLeft, itemLeft.StartTime.ToShortDisplayString()) + "</td>");
|
||||
sb.AppendLine(" <td" + GetHtmlBackgroundColor(subtitleListView1.Items[i].SubItems[1]) + ">" + GetHtmlText(itemLeft, itemLeft.StartTime.ToDisplayString()) + "</td>");
|
||||
if (subtitleListView1.ColumnIndexEnd >= 0)
|
||||
{
|
||||
sb.AppendLine(" <td" + GetHtmlBackgroundColor(subtitleListView1.Items[i].SubItems[subtitleListView1.ColumnIndexEnd]) + ">" + GetHtmlText(itemLeft, itemLeft.EndTime.ToShortDisplayString()) + "</td>");
|
||||
sb.AppendLine(" <td" + GetHtmlBackgroundColor(subtitleListView1.Items[i].SubItems[subtitleListView1.ColumnIndexEnd]) + ">" + GetHtmlText(itemLeft, itemLeft.EndTime.ToDisplayString()) + "</td>");
|
||||
}
|
||||
sb.AppendLine(" <td" + GetHtmlBackgroundColor(subtitleListView1.Items[i].SubItems[subtitleListView1.ColumnIndexText]) + ">" + GetHtmlText(itemLeft, itemLeft.Text) + "</td>");
|
||||
sb.AppendLine(" <td> </td>");
|
||||
sb.AppendLine(" <td" + GetHtmlBackgroundColor(subtitleListView2.Items[i].SubItems[0]) + ">" + GetHtmlText(itemRight, itemRight.Number.ToString()) + "</td>");
|
||||
sb.AppendLine(" <td" + GetHtmlBackgroundColor(subtitleListView2.Items[i].SubItems[1]) + ">" + GetHtmlText(itemRight, itemRight.StartTime.ToShortDisplayString()) + "</td>");
|
||||
sb.AppendLine(" <td" + GetHtmlBackgroundColor(subtitleListView2.Items[i].SubItems[1]) + ">" + GetHtmlText(itemRight, itemRight.StartTime.ToDisplayString()) + "</td>");
|
||||
if (subtitleListView2.ColumnIndexEnd >= 0)
|
||||
{
|
||||
sb.AppendLine(" <td" + GetHtmlBackgroundColor(subtitleListView2.Items[i].SubItems[subtitleListView1.ColumnIndexEnd]) + ">" + GetHtmlText(itemRight, itemRight.EndTime.ToShortDisplayString()) + "</td>");
|
||||
sb.AppendLine(" <td" + GetHtmlBackgroundColor(subtitleListView2.Items[i].SubItems[subtitleListView1.ColumnIndexEnd]) + ">" + GetHtmlText(itemRight, itemRight.EndTime.ToDisplayString()) + "</td>");
|
||||
}
|
||||
sb.AppendLine(" <td" + GetHtmlBackgroundColor(subtitleListView2.Items[i].SubItems[subtitleListView1.ColumnIndexText]) + ">" + GetHtmlText(itemRight, itemRight.Text) + "</td>");
|
||||
sb.AppendLine(" </tr>");
|
||||
|
Loading…
Reference in New Issue
Block a user