Changeset c9991fed in OpenWorkouts-current for ow/models


Ignore:
Timestamp:
Feb 8, 2019, 1:15:43 PM (5 years ago)
Author:
Borja Lopez <borja@…>
Branches:
current, feature/docs, master
Children:
55470f9
Parents:
20782ac
Message:

Workout.rounded_distance() returns distance rounded with 2 decimals now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/models/workout.py

    r20782ac rc9991fed  
    138138        """
    139139        if self.distance:
    140             return round(self.distance, 1)
     140            return round(self.distance, 2)
    141141        return '-'
    142142
Note: See TracChangeset for help on using the changeset viewer.