This is what I'm doing:
LANG=ru_RU.UTF-8 git log -n 1 --pretty=format:%ad '--date=format:%B %e, %Y'
I'm getting:
March 23, 2016
I'm expecting:
Март 23, 2016
What's wrong?
I'm checking my locale, seems to be OK:
$ LANG=ru_RU.UTF-8 locale
LANG="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_CTYPE="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_ALL=
This is what I'm also doing:
$ export LANG=ru_RU
$ date +%c
пятница, 25 марта 2016 г. 16:49:56
$ git log -n 1 --pretty=format:%ad '--date=format:%c'
Wed Mar 23 21:24:18 2016
WTF?