Localization Issues (#3653)
Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com>
This commit is contained in:
parent
98a2b9d3ed
commit
0f72f63b35
15 changed files with 25 additions and 21 deletions
|
@ -782,7 +782,7 @@ public class ProcessSeries : IProcessSeries
|
|||
chapter.SortOrder = info.IssueOrder;
|
||||
}
|
||||
|
||||
if (float.TryParse(chapter.Title, out _))
|
||||
if (float.TryParse(chapter.Title, CultureInfo.InvariantCulture, out _))
|
||||
{
|
||||
// If we have float based chapters, first scan can have the chapter formatted as Chapter 0.2 - .2 as the title is wrong.
|
||||
chapter.Title = chapter.GetNumberTitle();
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text.Json;
|
||||
|
@ -253,7 +254,7 @@ public partial class VersionUpdaterService : IVersionUpdaterService
|
|||
{
|
||||
Version = version,
|
||||
PrNumber = prNumber,
|
||||
Date = DateTime.Parse(commit.Commit.Author.Date)
|
||||
Date = DateTime.Parse(commit.Commit.Author.Date, CultureInfo.InvariantCulture)
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue