Changeset 64e8299 in OpenWorkouts-current for ow/templates/workout.pt


Ignore:
Timestamp:
Jan 7, 2019, 12:45:28 PM (5 years ago)
Author:
borja <borja@…>
Branches:
current, feature/docs, master
Children:
e3d7b13
Parents:
fe6089a
Message:

Show properly formatted duration for workouts (hours:minutes:seconds)

even for workouts which duration contains microseconds info.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/templates/workout.pt

    rfe6089a r64e8299  
    8989        <li>
    9090          <tal:t i18n:translate="">Duration:</tal:t>
    91           <tal:c tal:content="context.duration"></tal:c>
     91          <!--! use the properly formatted duration instead of the timedelta object -->
     92          <tal:c tal:content="context._duration"></tal:c>
    9293        </li>
    9394        <li tal:condition="context.distance">
Note: See TracChangeset for help on using the changeset viewer.