Skip to content

Commit

Permalink
fix: correct spelling errors for temperature units (#665)
Browse files Browse the repository at this point in the history
* fix: correct spelling errors for temperature units

* fix: add breaking change to changelog
  • Loading branch information
badrbouslikhin authored Jul 16, 2024
1 parent eedff24 commit 16e2bcf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
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

0 comments on commit 16e2bcf

Please sign in to comment.