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

fix: correct spelling errors for temperature units #665

Merged
merged 3 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Changelog
x.x.x ?
=======

* **Breaking change:** Fixed spelling errors for temperature units, corrected 'CELSUIS' to 'CELSIUS' and 'FARENHEIT' to 'FAHRENHEIT'.
* Added ``tooltipSort`` parameter to PieChartv2 panel
* Fix mappings for Table
* Added support for AWS Cross-Account in CloudwatchMetricsTarget
Expand Down
6 changes: 3 additions & 3 deletions grafanalib/formatunits.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@
RADS_PER_SEC = 'rotrads' # rad/s
DEGREES_PER_SECOND = 'rotdegs' # °/s
# Temperature
CELSUIS = 'celsius' # °C
FARENHEIT = 'fahrenheit' # °F
KELVIN = 'kelvin' # K
CELSIUS = 'celsius' # °C
FAHRENHEIT = 'fahrenheit' # °F
KELVIN = 'kelvin' # K
# Time
HERTZ = 'hertz' # Hz
NANO_SECONDS = 'ns' # ns
Expand Down
Loading