diff --git a/src/libse/SubtitleFormats/Bilibili.cs b/src/libse/SubtitleFormats/Bilibili.cs index 1b79ca86d..11fc8d05f 100644 --- a/src/libse/SubtitleFormats/Bilibili.cs +++ b/src/libse/SubtitleFormats/Bilibili.cs @@ -36,7 +36,7 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats sb.AppendLine(); sb.Append("\t{ "); sb.Append("\"from\":" + p.StartTime.TotalSeconds.ToString(CultureInfo.InvariantCulture) + ", "); - sb.Append("\"to\":" + p.StartTime.TotalSeconds.ToString(CultureInfo.InvariantCulture) + ", "); + sb.Append("\"to\":" + p.EndTime.TotalSeconds.ToString(CultureInfo.InvariantCulture) + ", "); sb.Append("\"location\": 2, "); sb.Append("\"content\":\"" + Json.EncodeJsonText(p.Text) + "\""); sb.Append(" }");