Skip to content
New issue

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

Wrong date display #110

Closed
al77ex1 opened this issue Oct 26, 2022 · 1 comment
Closed

Wrong date display #110

al77ex1 opened this issue Oct 26, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@al77ex1
Copy link

al77ex1 commented Oct 26, 2022

┌────────────   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 ecosse3 added the bug Something isn't working label Nov 4, 2022
@ecosse3
Copy link
Owner

ecosse3 commented Jan 1, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants