Merge pull request #4776 from nkh0472/patch-14

Try to fix #4775
This commit is contained in:
Nikolaj Olsson 2021-02-02 16:32:20 +01:00 committed by GitHub
commit bb7cbc3174
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(" }");