Add output in Fahrenheit as well as Celsius.

This commit is contained in:
Ben Stern committed 2016-03-05 14:25:16 -05:00
1 parent cb687f01f7
commit 5af78de226
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -60,6 +60,7 @@ date of first contribution):
* ["bwgan"](https://github.com/bwgan)
* [Siim Raud](https://github.com/2ndalpha)
* ["geoporalis"](https://github.com/geoporalis)
* [therealbstern](https://github.com/therealbstern)
OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by
[Daid Braam](https://github.com/daid). Parts of its communication layer and
+1 -1
View File
@@ -413,7 +413,7 @@ function cleanTemperature(temp) {
function formatTemperature(temp) {
if (!temp || temp < 10) return gettext("off");
return _.sprintf("%.1f&deg;C", temp);
return _.sprintf("%.1f&deg;C (%.1f&deg;F)", temp, temp * 9 / 5 + 32);
}
function pnotifyAdditionalInfo(inner) {