Skip to content
This repository was archived by the owner on Aug 29, 2020. It is now read-only.

Add degree symbol to temperature values#177

Open
fleaz wants to merge 1 commit intocjbassi:masterfrom
fleaz:master
Open

Add degree symbol to temperature values#177
fleaz wants to merge 1 commit intocjbassi:masterfrom
fleaz:master

Conversation

@fleaz
Copy link
Copy Markdown

@fleaz fleaz commented Nov 1, 2019

Hey,

the correct unit symbols for temperatures are "°C" and "°F" so I added the degree symbol to the format string in temp.go. Using the official unicode characters (U+2103 and U+2109) will probably have compatibility issues in some terminals so I opted for their canonical decomposition.

Best,
Felix

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant