The problem:
When I use org-capture to write on my journal, it writes the month as April and the day as Friday. But everything in my system is in Portuguese, so it should be "abril" for the month, and "sexta-feira" for the day.
Org-agenda uses the names in Portuguese correctly.
format-time-string outputs in English instead of Portuguese.
Worse, this behavior started yesterday when I rebooted my computer. It did work fine before.
My OS: Windows 10, with the latest updates.
What I've tried:
1) Setting calendar variables like calendar-day-name-array and others have already been set and the buffer re-evaluated. I checked that those are the current values of those variables. NOTHING CHANGED.
2) I looked at Display months/days or timestamps in another language than English and checked if I had any LANG environment variable on Windows. I do not. NOTHING TO DO HERE.
3) I called set-language-environment and set it to Brazilian Portuguese. It was already portuguese before, but I did it again. NOTHING CHANGED.
I don't know what else to try. Tips?
Edit:
The weird thing is that THIS is what shows up when I use org-capture with a datetree:
The calendar itself is in portuguese, but the bottom line shows the date I picked in English. And it's captured in English.