Фикс глобализации
All checks were successful
Build and deploy / Publish image (push) Successful in 1m6s
All checks were successful
Build and deploy / Publish image (push) Successful in 1m6s
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user