-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Wind speed formatting issue #34
Comments
I don't think it's the two digit numbers - it's the diagonal arrows. Look how Friday morning is fine, but the rest of that day skews. |
Ah, yes @mikelietz you're correct. I guess I didn't look closely enough. |
On second thought, the fix probably won't work for the curl and wget cases, since they won't send their locales and if if they would, wego would have to be called with that respective locale on the server. A workaround might be to change your locales @dlstadther (see the linked PR discussion above) if that is an option. |
Actually, it's possible, but you need to pass that info (just a bit of information) in the url. Say, if you add j to the url (curl wttr.in/osaka?j), it could mean "please fix the japan-locales-problem for me). |
As already mentioned the source of the issue is different locales in your own terminal and on the wttr.in server where wego is running. wego does not know your locale, so it can only use the one from the server. To get it correct you would have to somehow pass your locale to the server (no more typing just |
When the min and max wind speeds are both 2 digits, the line formatting becomes pushed to the right and causes mismatched ASCII images.
The text was updated successfully, but these errors were encountered: