I'm having a problem with Razor (using MVC 2.1 .Net Core) when generating the screen, as below code, it is appearing the correct date in my Local development environment, but after Publish appears in English in other environments, could you force it to be in Portuguese?
<p> <label> Data de Nascimento:</label>}
@Model.DataEmissaoAntecedentes.Value.ToLongDateString()
</p>
The page is in CSHTML, and is typed with a Model.