aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/GenresController.cs
diff options
context:
space:
mode:
authorobradovichv <53901450+obradovichv@users.noreply.github.com>2021-01-03 20:13:21 +0200
committerobradovichv <53901450+obradovichv@users.noreply.github.com>2021-01-03 20:17:27 +0200
commit0282a1ed09e40464d944977411cf3ae302aa32a4 (patch)
tree034f8dda90605f97086e20445155e8188113ad15 /Jellyfin.Api/Controllers/GenresController.cs
parent841996c642eebfe80b092394953f0b8b7c874cfb (diff)
Fix string culture specificity
Fix bug in SsaParser.cs primary color {\1c} formatting that would leave behind the {\1c} closing token and instead append </font> token unconditionally to the dialogue text. Add tests. Change AlphanumComparatorTests.cs complementary test data generation from an array shuffle to an array reversal. Although it was previously using a seeded Random, the shuffle itself could result in no rearrangement of elements if the seed or test data changed over time. The reversal guarantees reordering of elements and has the added benefit of simplifying the test code since no special handling is needed for arrays of 2 elements. Change DailyTrigger.cs logging of TriggerDate format to "yyyy-MM-dd HH:mm:ss.fff zzz" for consistency with configured log timestamp format and change DueTime format to culture-invariant "c" format.
Diffstat (limited to 'Jellyfin.Api/Controllers/GenresController.cs')
0 files changed, 0 insertions, 0 deletions