ecosse3 / nvim

A non-minimal Neovim config built to work most efficiently with Frontend Development
GNU General Public License v3.0
1.21k stars 109 forks source link

Wrong date display #110

Closed al77ex1 closed 1 year ago

al77ex1 commented 1 year ago
┌────────────   Today is Ср 26 окт ────────────┐
└───══───══───══───   20:26  ───══───══───══────┘

On the dashboard, I see a mismatched right corner of the frame due to the date in the locale language.

Solution:

replace the line in file /lua/plugins/alpha.lua -local thingy = io.popen('echo "$(date +%a) $(date +%d) $(date +%b)" | tr -d "\n"')

to +local thingy = io.popen('echo "$(LANG=en_us_88591; date +%a) $(date +%d) $(LANG=en_us_88591; date +%b)" | tr -d "\n"')

ecosse3 commented 1 year ago

Thank you for the solution! It will be included in next EcoVim release!