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

Should tonne have t as its short name? #54

Open
triallax opened this issue Apr 18, 2022 · 2 comments
Open

Should tonne have t as its short name? #54

triallax opened this issue Apr 18, 2022 · 2 comments

Comments

@triallax
Copy link
Contributor

According to https://en.wikipedia.org/wiki/Metric_ton, the tonne has a symbol of t, not ton. ton can also easily lead to confusion with the various other units all named "ton".

@triallax triallax changed the title Should tonne have t as short name? Should tonne have t its as short name? Apr 19, 2022
@triallax triallax changed the title Should tonne have t its as short name? Should tonne have t as its short name? Apr 20, 2022
@sharkdp
Copy link
Owner

sharkdp commented Apr 20, 2022

We have t for ton in Insect: https://github.com/sharkdp/insect/blob/6c3dd0e4308913a98fcbdad161c5c750974336d4/src/Insect/Parser.purs#L305-L307

Unfortunately, I don't remember why I reverted it here in this library: 558c85b Should have noted that in the commit message. Probably because I wanted it to display as "ton" in Insect, even if someone types t.

I'm happy to discuss this again. Actually might be in favor of changing it.

@triallax
Copy link
Contributor Author

Well, a good way to avoid the confusion is to display it as "tonne" instead of "ton", as "tonne" refers unambiguously to a metric ton, unlike "ton". "Metric ton" can fulfill that role well too (arguably even better than "tonne"), but I lean a little towards "tonne." Both are fine by me though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants