Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Commit

Permalink
Astro: Use float formatting instead of int for distances on channels (#…
Browse files Browse the repository at this point in the history
…4437)

Fixes #4394

Signed-off-by: Stefan Triller <stefan.triller@telekom.de>
  • Loading branch information
triller-telekom authored and maggu2810 committed Oct 18, 2017
1 parent 9029b87 commit e1133a1
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -420,14 +420,14 @@
<item-type>Number</item-type>
<label>Miles</label>
<description>The distance in miles</description>
<state readOnly="true" pattern="%d miles" />
<state readOnly="true" pattern="%.1f miles" />
</channel-type>

<channel-type id="kilometer">
<item-type>Number</item-type>
<label>Kilometer</label>
<description>The distance in kilometers</description>
<state readOnly="true" pattern="%d km" />
<state readOnly="true" pattern="%.1f km" />
</channel-type>

<channel-type id="distanceEvent">
Expand Down

0 comments on commit e1133a1

Please sign in to comment.