Closed EdiWang closed 1 month ago
Thanks @saigkill for finding this bug.
To reproduce
var cultureInfo = new CultureInfo("de-DE");
Thread.CurrentThread.CurrentCulture = cultureInfo;
Thread.CurrentThread.CurrentUICulture = cultureInfo;
var str = $"{DateTime.UtcNow:yyyy/M/d}";
// str: 2024.9.21
Describe the bug
RouteLink
is wrong on systems with German language setup.To Reproduce Steps to reproduce the behavior:
Expected behavior Blog post should be displayed
Additional context
Root cause:
Is not culture aware.