Фикс глобализации
All checks were successful
Build and deploy / Publish image (push) Successful in 1m6s

This commit is contained in:
2025-01-02 17:17:59 +03:00
parent 00f65b4ca3
commit a68fcbb8d9

View File

@@ -56,7 +56,7 @@ public class StatementGenerator(GotenbergSharpClient gotenbergSharpClient) : ISt
textElement.Text = userData.isOchno ? "очной" : "очно-заочной"; textElement.Text = userData.isOchno ? "очной" : "очно-заочной";
break; break;
case "date": case "date":
textElement.Text = DateTime.UtcNow.AddHours(3).ToString(CultureInfo.GetCultureInfoByIetfLanguageTag("ru-RU").DateTimeFormat.ShortDatePattern); textElement.Text = DateTime.UtcNow.AddHours(3).ToString(CultureInfo.InvariantCulture.DateTimeFormat.ShortDatePattern);
break; break;
case "reason": case "reason":
textElement.Text = userData.reason; textElement.Text = userData.reason;