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

Astro: Use float formatting instead of int for distances on channels #4437

Merged
merged 1 commit into from Oct 18, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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