[FEATURE]: My History dates locale should rely on uiLang #791
Labels
begginer
Good issues for begginers
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Good for contributors
How can the project be improved?
Some commits ago, the uiLang parameter was added to the
SnippetConfig
.This was made because now, the requests to the APIs rely in
lang
parameter, and if exist the lang shown by the UI components rely in the newuiLang
parameter, so the components can have different locale for requests and UI using both parameters.How can this be solved?
Change the MyHistory component to show dates based in
uiLang
instead oflang
as locale.Proposed solution
No response
Customizations supported
No response
Additional information
Make the first character of the date always uppercase to show
Miércoles, 19 de octubre de 2022
instead of
miércoles, 19 de octubre de 2022
In English the first is uppercase, but just because names of days and months are uppercase in English and
toLocaleDateString
is setting that in the right way. But in Spanish, or other languages, even if the name of the day is correctly written in lowercase, we would like to start the sentence in uppercase.Code of Conduct
The text was updated successfully, but these errors were encountered: