We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
┌──────────── 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"')
-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"')
+local thingy = io.popen('echo "$(LANG=en_us_88591; date +%a) $(date +%d) $(LANG=en_us_88591; date +%b)" | tr -d "\n"')
The text was updated successfully, but these errors were encountered:
Thank you for the solution! It will be included in next EcoVim release!
Sorry, something went wrong.
fix(plugins): force date display in alpha to english
8dd721d
Fixes #110
No branches or pull requests
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"')
The text was updated successfully, but these errors were encountered: